Class ecm.model.ChildComponentDefinition
Extends
ecm.model._ModelObject.
Represents the definition of a child component in an IBM Content Manager repository.
Defined in: <ecm\model\ChildComponentDefinition.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
Array of ecm.model.AttributeDefinition.
|
|
An object that references the ecm.model.AttributeDefinition objects by attribute name.
|
|
int representing the maximum cardinality.
|
|
int representing the minimum cardinality.
|
|
Instance of ecm.model.Repository.
|
- Fields borrowed from class ecm.model._ModelObject:
- categorization, id, isRecurring, name, nameFilter, pane, status, type, userId
Method Summary
Method Attributes | Method Name and Description |
---|---|
clone()
Returns a clone of this child component definition.
|
|
Returns the attribute definitions.
|
|
Returns false if no attributes.
|
|
setAttributeDefinitions(attributeDefinitions)
Sets the list of attribute information.
|
|
Clears the attribute information that had been previously retrieved.
|
- Methods borrowed from class ecm.model._ModelObject:
- destroy, getSortCriteria, onChange, own, refresh, toString
Field Detail
attributeDefinitions
Array of ecm.model.AttributeDefinition.
attributeDefinitionsById
An object that references the ecm.model.AttributeDefinition objects by attribute name.
- Since:
- 2.0.3.7
maxCardinality
int representing the maximum cardinality.
minCardinality
int representing the minimum cardinality.
repository
Instance of ecm.model.Repository.
Method Detail
clone()
Returns a clone of this child component definition.
- Since:
- 2.0.2
getAttributeDefinitions()
Returns the attribute definitions.
hasAttributes()
Returns false if no attributes.
setAttributeDefinitions(attributeDefinitions)
Sets the list of attribute information.
- Parameters:
- attributeDefinitions
- List of attributes passed in externally (instead of being retrieved from repository).
unloadAttributeDefinitions()
Clears the attribute information that had been previously retrieved. The next call to
retrieveAttributeDefinitions will re-acquire the information from the content server.