public class TypeDefPatch extends TypeDefElementHeader
CURRENT_TYPE_DEF_HEADER_VERSION| Constructor and Description |
|---|
TypeDefPatch()
Default constructor relies on the initialization of variables in their declaration.
|
TypeDefPatch(TypeDefPatch template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
|
long |
getApplyToVersion()
Return the version number of the TypeDef that this patch applies to.
|
String |
getDescription()
Return the new description for the TypeDef.
|
String |
getDescriptionGUID()
Return the unique identifier for the new glossary term that describes the TypeDef.
|
RelationshipEndDef |
getEndDef1()
Return the details associated with the first end of the relationship.
|
RelationshipEndDef |
getEndDef2()
Return the details associated with the second end of the relationship.
|
List<ExternalStandardMapping> |
getExternalStandardMappings()
Return the list of External Standards Mappings that are either new or changing.
|
InstanceStatus |
getInitialStatus()
Return the initial status setting for an instance of this type.
|
String |
getNewVersionName()
Return the new version name ot use once the patch is applied.
|
List<TypeDefAttribute> |
getPropertyDefinitions()
Return the list of typeDefAttributes that are either new or changing.
|
TypeDefLink |
getSuperType()
Return the new supertype.
|
String |
getTypeDefGUID()
Return the unique identifier for the affected TypeDef.
|
String |
getTypeDefName()
Return the unique name for the affected TypeDef.
|
Map<String,String> |
getTypeDefOptions()
Return the TypeDef options for the patch.
|
TypeDefStatus |
getTypeDefStatus()
Return any change in status for the TypeDef.
|
String |
getUpdatedBy()
Return the user name of the person that last updated the target TypeDef.
|
Date |
getUpdateTime()
Return the date/time that the target TypeDef was last updated.
|
long |
getUpdateToVersion()
Return the new version number of the TypeDef.
|
List<TypeDefLink> |
getValidEntityDefs()
Return a list of EntityDef names this this ClassificationDef can be attached to.
|
List<InstanceStatus> |
getValidInstanceStatusList()
Return the list of valid statuses for an instance of this TypeDefPatch.
|
int |
hashCode()
Return a hash code based on the values of this object.
|
void |
setApplyToVersion(long applyToVersion)
Set up the version number of the TypeDef that this patch applies to.
|
void |
setDescription(String description)
Set up the new description for the TypeDef
|
void |
setDescriptionGUID(String descriptionGUID)
Set up the unique identifier for the new glossary term that describes the TypeDef.
|
void |
setEndDef1(RelationshipEndDef endDef1)
Set up the details associated with the first end of the relationship.
|
void |
setEndDef2(RelationshipEndDef endDef2)
Set up the details associated with the second end of the relationship.
|
void |
setExternalStandardMappings(List<ExternalStandardMapping> externalStandardMappings)
Set up the list of External Standards Mappings that are either new or changing.
|
void |
setInitialStatus(InstanceStatus initialStatus)
Set up the initial status setting for an instance of this type.
|
void |
setNewVersionName(String newVersionName)
Set up the new version name ot use once the patch is applied.
|
void |
setPropertyDefinitions(List<TypeDefAttribute> propertyDefinitions)
Set up the list of typeDefAttributes that are either new or changing.
|
void |
setSuperType(TypeDefLink superType)
Set up the new super type.
|
void |
setTypeDefGUID(String typeDefGUID)
Set up the unique identifier for the affected TypeDef.
|
void |
setTypeDefName(String typeDefName)
Set up the unique name for the affected TypeDef.
|
void |
setTypeDefOptions(Map<String,String> typeDefOptions)
Set up the TypeDef options for the patch.
|
void |
setTypeDefStatus(TypeDefStatus typeDefStatus)
Set up a change in the status of the TypeDef
|
void |
setUpdatedBy(String updatedBy)
Set up the user name of the person that last updated the target TypeDef.
|
void |
setUpdateTime(Date updateTime)
Set up the date/time that the target TypeDef was last updated.
|
void |
setUpdateToVersion(long updateToVersion)
Set up the new version of the TypeDef.
|
void |
setValidEntityDefs(List<TypeDefLink> validEntityDefs)
Set up a list of EntityDef names this this ClassificationDef can be attached to.
|
void |
setValidInstanceStatusList(List<InstanceStatus> validInstanceStatusList)
Set up the new list of valid statuses for an instance of this TypeDef.
|
String |
toString()
Standard toString method.
|
getHeaderVersion, setHeaderVersionpublic TypeDefPatch()
public TypeDefPatch(TypeDefPatch template)
template - object to copypublic String getTypeDefGUID()
public void setTypeDefGUID(String typeDefGUID)
typeDefGUID - String guidpublic String getTypeDefName()
public void setTypeDefName(String typeDefName)
typeDefName - String namepublic TypeDefStatus getTypeDefStatus()
public void setTypeDefStatus(TypeDefStatus typeDefStatus)
typeDefStatus - enumpublic long getApplyToVersion()
public void setApplyToVersion(long applyToVersion)
applyToVersion - long version numberpublic long getUpdateToVersion()
public void setUpdateToVersion(long updateToVersion)
updateToVersion - long version numberpublic String getNewVersionName()
public void setNewVersionName(String newVersionName)
newVersionName - String version namepublic String getUpdatedBy()
public void setUpdatedBy(String updatedBy)
updatedBy - String namepublic Date getUpdateTime()
public void setUpdateTime(Date updateTime)
updateTime - Datepublic String getDescription()
public void setDescription(String description)
description - String descriptionpublic String getDescriptionGUID()
public void setDescriptionGUID(String descriptionGUID)
descriptionGUID - String unique identifierpublic TypeDefLink getSuperType()
public void setSuperType(TypeDefLink superType)
superType - super type linkpublic List<TypeDefAttribute> getPropertyDefinitions()
public void setPropertyDefinitions(List<TypeDefAttribute> propertyDefinitions)
propertyDefinitions - list of AttributeDefspublic Map<String,String> getTypeDefOptions()
public void setTypeDefOptions(Map<String,String> typeDefOptions)
typeDefOptions - map of TypeDef Options that are new or changing.public List<ExternalStandardMapping> getExternalStandardMappings()
public void setExternalStandardMappings(List<ExternalStandardMapping> externalStandardMappings)
externalStandardMappings - list of external standards mappingspublic List<InstanceStatus> getValidInstanceStatusList()
public void setValidInstanceStatusList(List<InstanceStatus> validInstanceStatusList)
validInstanceStatusList - list of valid statusespublic InstanceStatus getInitialStatus()
public void setInitialStatus(InstanceStatus initialStatus)
initialStatus - InstanceStatus enumpublic List<TypeDefLink> getValidEntityDefs()
public void setValidEntityDefs(List<TypeDefLink> validEntityDefs)
validEntityDefs - list of type def linkspublic RelationshipEndDef getEndDef1()
public void setEndDef1(RelationshipEndDef endDef1)
endDef1 - RelationshipEndDefpublic RelationshipEndDef getEndDef2()
public void setEndDef2(RelationshipEndDef endDef2)
endDef2 - RelationshipEndDefpublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.