Method collection/collection


  COLLECTION constructor for collection class.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: COLLECTION constructor for collection class.
 
  CONSTRUCTOR:
 
        fb = collection()      - creates an empty collection object
        fb = collection(objs)  - construct from an array of objects
        fb = collection(pl)    - create a collection object from a parameter list
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class collection
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
ltpda_uoh.addGlobalKeys
NAME '' none The name of the constructed object.
DESCRIPTION '' none The description of the constructed object.

Example

plist('NAME', '', 'DESCRIPTION', '')

back to top back to top

From MAT File

no description
Key Default Value Options Description
ltpda_uoh.addGlobalKeys
NAME '' none The name of the constructed object.
DESCRIPTION '' none The description of the constructed object.
ltpda_uo.buildplist
FILENAME '' none MAT filename.

Example

plist('NAME', '', 'DESCRIPTION', '', 'FILENAME', '')

back to top back to top

From XML File

no description
Key Default Value Options Description
ltpda_uoh.addGlobalKeys
NAME '' none The name of the constructed object.
DESCRIPTION '' none The description of the constructed object.
ltpda_uo.buildplist
FILENAME '' none XML filename.

Example

plist('NAME', '', 'DESCRIPTION', '', 'FILENAME', '')

back to top back to top

From Repository

no description
Key Default Value Options Description
ltpda_uoh.addGlobalKeys
NAME '' none The name of the constructed object.
DESCRIPTION '' none The description of the constructed object.
ltpda_uo.buildplist
HOSTNAME '' none Database server hostname.
DATABASE '' none Database name.
USERNAME '' none User name to use when connecting to the database. Leave blank to be prompted.
PASSWORD {} [0x0] none Password to use when connecting to the database. Leave blank to be prompted.
CONN [] none Java mysql object.
ID, IDS [] none A vector of object IDs.
CID [] none A vector of collection IDs.
UUID, UUIDS {} [0x0] none A cell array of UUIDs.
BINARY 1
  • 1
  • 0
Use binary representation (not always available).

Example

plist('NAME', '', 'DESCRIPTION', '', 'HOSTNAME', '', 'DATABASE', '', 'USERNAME', '', 'PASSWORD', cell(0,0), 'CONN', [[]], 'ID', [[]], 'CID', [[]], 'UUID', cell(0,0), 'BINARY', [true])

back to top back to top

From Built-in Model

no description
Key Default Value Options Description
ltpda_uoh.addGlobalKeys
NAME '' none The name of the constructed object.
DESCRIPTION '' none The description of the constructed object.
ltpda_uo.buildplist
BUILT-IN '' none Choose one of the built-in models. (use class.getBuiltInModels to get a list for a particular user class)
VERSION [] none Version of the built in model. The default version is used for the case that no 'Version' is defined.

Example

plist('NAME', '', 'DESCRIPTION', '', 'BUILT-IN', '', 'VERSION', [[]])

back to top back to top

From Input

no description
Key Default Value Options Description
ltpda_uoh.addGlobalKeys
NAME '' none The name of the constructed object.
DESCRIPTION '' none The description of the constructed object.
collection.buildplist
OBJS {} [0x0] none Objects of the collection.
Please use a cell array if the objects are not from the same type.
NAMES {} [0x0] none Names of the objects of the collection.

Example

plist('NAME', '', 'DESCRIPTION', '', 'OBJS', cell(0,0), 'NAMES', cell(0,0))

back to top back to top

Some information of the method collection/collection are listed below:
Class name collection
Method name collection
Category Constructor
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 0
Max input args -1
Min output args 1
Max output args 1
Can be used as modifier 0
Supported numeric types {'double'}




©LTP Team