public abstract class TypeDef extends TypeDefSummary
The different categories of Typedefs are listed in TypeDefCategory.
| Modifier and Type | Field and Description |
|---|---|
protected String |
createdBy |
protected Date |
createTime |
protected String |
description |
protected String |
descriptionGUID |
protected List<ExternalStandardMapping> |
externalStandardMappings |
protected InstanceStatus |
initialStatus |
protected Map<String,String> |
options |
protected String |
origin |
protected List<TypeDefAttribute> |
propertiesDefinition |
protected TypeDefLink |
superType |
protected String |
updatedBy |
protected Date |
updateTime |
protected List<InstanceStatus> |
validInstanceStatusList |
category, version, versionNameguid, name, replacedByTypeGUID, replacedByTypeName, statusCURRENT_TYPE_DEF_HEADER_VERSION| Modifier | Constructor and Description |
|---|---|
protected |
TypeDef()
Default constructor
|
protected |
TypeDef(TypeDef template)
Copy/clone constructor copies the values from the supplied template.
|
protected |
TypeDef(TypeDefCategory category)
Minimal constructor is passed the category of the typedef being constructed.
|
| Modifier and Type | Method and Description |
|---|---|
abstract TypeDef |
cloneFromSubclass()
Delegate the process of cloning to the subclass.
|
boolean |
equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
|
String |
getCreatedBy()
Return the user name of the person that created this TypeDef.
|
Date |
getCreateTime()
Return the date/time that this TypeDef was created.
|
String |
getDescription()
Return the description of this TypeDef.
|
String |
getDescriptionGUID()
Return the unique identifier (guid) of the glossary term that describes this TypeDef.
|
List<ExternalStandardMapping> |
getExternalStandardMappings()
Return the list of mappings to external standards.
|
InstanceStatus |
getInitialStatus()
Return the initial status setting for an instance of this type.
|
Map<String,String> |
getOptions()
Return the options for this TypeDef.
|
String |
getOrigin()
Return the unique identifier for metadata collection Id where this TypeDef came from.
|
List<TypeDefAttribute> |
getPropertiesDefinition()
Return the list of typeDefAttributes that are either new or changing.
|
TypeDefLink |
getSuperType()
Return the super type for the TypeDef (or null if top-level)
|
String |
getUpdatedBy()
Return the user name of the person that last updated this TypeDef.
|
Date |
getUpdateTime()
Return the date/time that this TypeDef was last updated.
|
List<InstanceStatus> |
getValidInstanceStatusList()
Return the list of valid statuses for an instance of this TypeDef.
|
int |
hashCode()
Return a hash code based on the values of this object.
|
void |
setCreatedBy(String createdBy)
Set up the user name of the person that created this TypeDef.
|
void |
setCreateTime(Date createTime)
Set up the date/time that this TypeDef was created.
|
void |
setDescription(String description)
Set up the description of this TypeDef.
|
void |
setDescriptionGUID(String descriptionGUID)
Set up the unique identifier (guid) of the glossary term that describes this TypeDef.
|
void |
setExternalStandardMappings(List<ExternalStandardMapping> externalStandardMappings)
Set up the list of mappings to external standards.
|
void |
setInitialStatus(InstanceStatus initialStatus)
Set up the initial status setting for an instance of this type.
|
void |
setOptions(Map<String,String> options)
Set up the options for this TypeDef.
|
void |
setOrigin(String origin)
Set up the unique identifier for metadata collection Id where this TypeDef came from.
|
void |
setPropertiesDefinition(List<TypeDefAttribute> propertiesDefinition)
Set up the list of AttributeDefs that define the valid properties for this type of classification.
|
void |
setSuperType(TypeDefLink superType)
Set up supertype for the TypeDef.
|
void |
setUpdatedBy(String updatedBy)
Set up the user name of the person that last updated this TypeDef.
|
void |
setUpdateTime(Date updateTime)
Set up the date/time that this TypeDef was last updated.
|
void |
setValidInstanceStatusList(List<InstanceStatus> validInstanceStatusList)
Set up the list of valid instance statuses supported by this TypeDef.
|
String |
toString()
Standard toString method.
|
getCategory, getVersion, getVersionName, setCategory, setVersion, setVersionNamegetGUID, getName, getReplacedByTypeGUID, getReplacedByTypeName, getStatus, setGUID, setName, setReplacedByTypeGUID, setReplacedByTypeName, setStatusgetHeaderVersion, setHeaderVersionprotected TypeDefLink superType
protected String description
protected String descriptionGUID
protected String origin
protected String createdBy
protected String updatedBy
protected Date createTime
protected Date updateTime
protected List<ExternalStandardMapping> externalStandardMappings
protected List<InstanceStatus> validInstanceStatusList
protected InstanceStatus initialStatus
protected List<TypeDefAttribute> propertiesDefinition
protected TypeDef()
protected TypeDef(TypeDefCategory category)
category - TypeDefCategory enumprotected TypeDef(TypeDef template)
template - TypeDefpublic abstract TypeDef cloneFromSubclass()
public TypeDefLink getSuperType()
public void setSuperType(TypeDefLink superType)
superType - TypeDefLink for the super typepublic String getDescription()
public void setDescription(String description)
description - Stringpublic String getDescriptionGUID()
public void setDescriptionGUID(String descriptionGUID)
descriptionGUID - String guidpublic String getOrigin()
public void setOrigin(String origin)
origin - String guidpublic String getCreatedBy()
public void setCreatedBy(String createdBy)
createdBy - String namepublic String getUpdatedBy()
public void setUpdatedBy(String updatedBy)
updatedBy - String namepublic Date getCreateTime()
public void setCreateTime(Date createTime)
createTime - Datepublic Date getUpdateTime()
public void setUpdateTime(Date updateTime)
updateTime - Datepublic Map<String,String> getOptions()
public void setOptions(Map<String,String> options)
options - Map from String to Stringpublic List<ExternalStandardMapping> getExternalStandardMappings()
public void setExternalStandardMappings(List<ExternalStandardMapping> externalStandardMappings)
externalStandardMappings - ExternalStandardMappings listpublic List<InstanceStatus> getValidInstanceStatusList()
public void setValidInstanceStatusList(List<InstanceStatus> validInstanceStatusList)
validInstanceStatusList - InstanceStatus Arraypublic InstanceStatus getInitialStatus()
public void setInitialStatus(InstanceStatus initialStatus)
initialStatus - InstanceStatus enumpublic List<TypeDefAttribute> getPropertiesDefinition()
public void setPropertiesDefinition(List<TypeDefAttribute> propertiesDefinition)
propertiesDefinition - AttributeDefs listpublic String toString()
toString in class TypeDefSummarypublic boolean equals(Object objectToCompare)
equals in class TypeDefSummaryobjectToCompare - objectpublic int hashCode()
hashCode in class TypeDefSummaryCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.