public class CollectionDef extends AttributeTypeDef
category, description, descriptionGUID, guid, name, version, versionNameCURRENT_TYPE_DEF_HEADER_VERSION| Constructor and Description |
|---|
CollectionDef()
Default constructor for Jackson (JSON parsing)
|
CollectionDef(CollectionDef template)
Copy/clone constructor creates a copy of the supplied template.
|
CollectionDef(CollectionDefCategory collectionDefCategory)
Typical constructor initializes the CollectionDef based on the supplied category.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeTypeDef |
cloneFromSubclass()
Delegate the process of cloning to the subclass.
|
boolean |
equals(Object objectToCompare)
Verify that supplied object has the same properties.
|
int |
getArgumentCount()
Return the number of arguments needed to set up the collection type name.
|
List<PrimitiveDefCategory> |
getArgumentTypes()
Return the list of argument types set up for this collection.
|
CollectionDefCategory |
getCollectionDefCategory()
Return the type category for this collection type.
|
void |
setArgumentCount(int argumentCount)
Set upi the number of arguments needed to set upi the collection type name.
|
void |
setArgumentTypes(List<PrimitiveDefCategory> argumentTypes)
Set up the list of argument types.
|
void |
setCollectionDefCategory(CollectionDefCategory collectionDefCategory) |
String |
toString()
Standard toString method.
|
getCategory, getDescription, getDescriptionGUID, getGUID, getName, getVersion, getVersionName, hashCode, setCategory, setDescription, setDescriptionGUID, setGUID, setName, setVersion, setVersionNamegetHeaderVersion, setHeaderVersionpublic CollectionDef()
public CollectionDef(CollectionDefCategory collectionDefCategory)
collectionDefCategory - CollectionDefCategory Enumpublic CollectionDef(CollectionDef template)
template - CollectionDef to copypublic AttributeTypeDef cloneFromSubclass()
cloneFromSubclass in class AttributeTypeDefpublic CollectionDefCategory getCollectionDefCategory()
public void setCollectionDefCategory(CollectionDefCategory collectionDefCategory)
public int getArgumentCount()
public void setArgumentCount(int argumentCount)
argumentCount - int countpublic List<PrimitiveDefCategory> getArgumentTypes()
public void setArgumentTypes(List<PrimitiveDefCategory> argumentTypes)
argumentTypes - list of argument typespublic String toString()
toString in class AttributeTypeDefpublic boolean equals(Object objectToCompare)
equals in class AttributeTypeDefobjectToCompare - object to testCopyright © 2018–2019 ODPi. All rights reserved.