public class InstanceType extends InstanceElementHeader
| Constructor and Description |
|---|
InstanceType()
Default constructor relies on initialization of variables in the declaration.
|
InstanceType(InstanceType template)
Copy/clone constructor
|
InstanceType(TypeDefCategory typeDefCategory,
String typeDefGUID,
String typeDefName,
long typeDefVersion,
String typeDefDescription,
String typeDefDescriptionGUID,
List<TypeDefLink> typeDefSuperTypes,
List<InstanceStatus> validStatusList,
List<String> validInstanceProperties)
Typical constructor that set all of the properties at once.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Validate if the supplied object equals this object.
|
TypeDefCategory |
getTypeDefCategory()
Return the category of this instance.
|
String |
getTypeDefDescription()
Return the description for the TypeDef.
|
String |
getTypeDefDescriptionGUID()
Return the unique identifier of the glossary term that describes this TypeDef (null if no term defined).
|
String |
getTypeDefGUID()
Return the unique identifier for the type of this instance.
|
String |
getTypeDefName()
Return the name of this instance's type.
|
List<TypeDefLink> |
getTypeDefSuperTypes()
Return the full list of defined super-types for this TypeDef working up the type hierarchy.
|
long |
getTypeDefVersion()
Return the version number of this instance's TypeDef.
|
List<String> |
getValidInstanceProperties()
Return the list of valid property names that can be stored in this instance.
|
List<InstanceStatus> |
getValidStatusList()
Return the list of valid instance statuses supported by this instance.
|
int |
hashCode()
Return a hash code based on the values of this object.
|
void |
setTypeDefCategory(TypeDefCategory typeDefCategory)
Set up the category of this instance.
|
void |
setTypeDefDescription(String typeDefDescription)
Set up the description for the TypeDef.
|
void |
setTypeDefDescriptionGUID(String typeDefDescriptionGUID)
Set up the unique identifier of the glossary term that describes this TypeDef (null if no term defined).
|
void |
setTypeDefGUID(String typeDefGUID)
Set up the unique identifier for the type of this instance.
|
void |
setTypeDefName(String typeDefName)
Set up the name of this instance's type.
|
void |
setTypeDefSuperTypes(List<TypeDefLink> typeDefSuperTypes)
Set up the full list of defined super-types for this TypeDef working up the type hierarchy.
|
void |
setTypeDefVersion(long typeDefVersion)
Set up the version for the TypeDef.
|
void |
setValidInstanceProperties(List<String> validInstanceProperties)
Set up the set of valid property names that can be stored in this instance.
|
void |
setValidStatusList(List<InstanceStatus> validStatusList)
Set up the list of valid instance statuses supported by this instance.
|
String |
toString()
Standard toString method.
|
public InstanceType()
public InstanceType(TypeDefCategory typeDefCategory, String typeDefGUID, String typeDefName, long typeDefVersion, String typeDefDescription, String typeDefDescriptionGUID, List<TypeDefLink> typeDefSuperTypes, List<InstanceStatus> validStatusList, List<String> validInstanceProperties)
typeDefCategory - the category of the typetypeDefGUID - unique identifier of the typetypeDefName - unique name of the typetypeDefVersion - version number of the typetypeDefDescription - short description of the typetypeDefDescriptionGUID - unique identifier of the glossary term describing this type.typeDefSuperTypes - full list of super types for this typevalidStatusList - list of statuses that this instance can havevalidInstanceProperties - full list of valid property names that can be put in the instance (including
properties from the super types)public InstanceType(InstanceType template)
template - instance type to copypublic TypeDefCategory getTypeDefCategory()
public void setTypeDefCategory(TypeDefCategory typeDefCategory)
typeDefCategory - enumpublic String getTypeDefGUID()
public void setTypeDefGUID(String typeDefGUID)
typeDefGUID - String unique identifierpublic String getTypeDefName()
public void setTypeDefName(String typeDefName)
typeDefName - String type namepublic long getTypeDefVersion()
public void setTypeDefVersion(long typeDefVersion)
typeDefVersion - long version numberpublic List<TypeDefLink> getTypeDefSuperTypes()
public void setTypeDefSuperTypes(List<TypeDefLink> typeDefSuperTypes)
typeDefSuperTypes - list of type namespublic String getTypeDefDescription()
public void setTypeDefDescription(String typeDefDescription)
typeDefDescription - String descriptionpublic String getTypeDefDescriptionGUID()
public void setTypeDefDescriptionGUID(String typeDefDescriptionGUID)
typeDefDescriptionGUID - String unique identifierpublic List<InstanceStatus> getValidStatusList()
public void setValidStatusList(List<InstanceStatus> validStatusList)
validStatusList - InstanceStatus Arraypublic List<String> getValidInstanceProperties()
public void setValidInstanceProperties(List<String> validInstanceProperties)
validInstanceProperties - array of property names.public String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2019 ODPi. All rights reserved.