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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Validated that the GUID, name and version of a TypeDef are equal.
|
TypeDefPatchAction |
getAction()
Return the type of action that this patch requires.
|
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.
|
List<ExternalStandardMapping> |
getExternalStandardMappings()
Return the list of External Standards Mappings that are either new or changing.
|
String |
getNewVersionName()
Return the new version name ot use once the patch is applied.
|
List<TypeDefAttribute> |
getTypeDefAttributes()
Return the list of typeDefAttributes that are either new or changing.
|
String |
getTypeDefGUID()
Return the unique identifier for the affected TypeDef.
|
Map<String,String> |
getTypeDefOptions()
Return the TypeDef options for the patch.
|
String |
getTypeName()
Return the unique name for the affected TypeDef.
|
long |
getUpdateToVersion()
Return the new version number of the TypeDef.
|
List<InstanceStatus> |
getValidInstanceStatusList()
Return the list of valid statuses for an instance of this TypeDefPatch.
|
int |
hashCode()
Using the GUID as a hashcode.
|
void |
setAction(TypeDefPatchAction action)
Set up the type of action that this patch requires.
|
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 |
setExternalStandardMappings(List<ExternalStandardMapping> externalStandardMappings)
Set up the list of External Standards Mappings that are either new or changing.
|
void |
setNewVersionName(String newVersionName)
Set up the new version name ot use once the patch is applied.
|
void |
setTypeDefAttributes(List<TypeDefAttribute> typeDefAttributes)
Set up the list of typeDefAttributes that are either new or changing.
|
void |
setTypeDefGUID(String typeDefGUID)
Set up the unique identifier for the affected TypeDef.
|
void |
setTypeDefOptions(Map<String,String> typeDefOptions)
Set up the TypeDef options for the patch.
|
void |
setTypeName(String typeName)
Set up the unique name for the affected TypeDef.
|
void |
setUpdateToVersion(long updateToVersion)
Set up the new version of the TypeDef.
|
void |
setValidInstanceStatusList(List<InstanceStatus> validInstanceStatusList)
Set up the list of valid statuses for an instance of this TypeDef.
|
String |
toString()
Standard toString method.
|
getHeaderVersion, setHeaderVersionpublic TypeDefPatch()
public TypeDefPatch(TypeDefPatch template)
public TypeDefPatchAction getAction()
public void setAction(TypeDefPatchAction action)
action - TypeDefPatchAction enumpublic String getTypeDefGUID()
public void setTypeDefGUID(String typeDefGUID)
typeDefGUID - String guidpublic String getTypeName()
public void setTypeName(String typeName)
typeName - String namepublic 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 getDescription()
public void setDescription(String description)
description - String descriptionpublic String getDescriptionGUID()
public void setDescriptionGUID(String descriptionGUID)
descriptionGUID - String unique identifierpublic List<TypeDefAttribute> getTypeDefAttributes()
public void setTypeDefAttributes(List<TypeDefAttribute> typeDefAttributes)
typeDefAttributes - 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 String toString()
public boolean equals(Object object)
Copyright © 2018–2019 ODPi. All rights reserved.