Class ElementType
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementType
-
- All Implemented Interfaces:
Serializable
public class ElementType extends Object implements Serializable
The ElementType bean provides details of the type information associated with a metadata element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementType()Default constructorElementType(ElementType templateType)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.List<String>getSuperTypeNames()Return the list of type names for this type's supertypes.StringgetTypeDescription()Return the description for this element's type.StringgetTypeId()Return unique identifier for the element's type.StringgetTypeName()Return name of element's type.longgetTypeVersion()Return the version number for this element's type.inthashCode()Create a hash code for this element type.voidsetSuperTypeNames(List<String> superTypeNames)Set up the list of type names for this type's supertypes.voidsetTypeDescription(String typeDescription)Set up a short description of this element's type.voidsetTypeId(String typeId)Set up the unique identifier for the element's type.voidsetTypeName(String typeName)Set up the name of this element's typevoidsetTypeVersion(long typeVersion)Set up the version number for this element's typeStringtoString()Standard toString method.
-
-
-
Constructor Detail
-
ElementType
public ElementType()
Default constructor
-
ElementType
public ElementType(ElementType templateType)
Copy/clone constructor- Parameters:
templateType- type to clone
-
-
Method Detail
-
setTypeId
public void setTypeId(String typeId)
Set up the unique identifier for the element's type.- Parameters:
typeId- String identifier
-
getTypeId
public String getTypeId()
Return unique identifier for the element's type.- Returns:
- element type id
-
setTypeName
public void setTypeName(String typeName)
Set up the name of this element's type- Parameters:
typeName- String name
-
getTypeName
public String getTypeName()
Return name of element's type.- Returns:
- elementTypeName
-
setSuperTypeNames
public void setSuperTypeNames(List<String> superTypeNames)
Set up the list of type names for this type's supertypes.- Parameters:
superTypeNames- list of type names
-
getSuperTypeNames
public List<String> getSuperTypeNames()
Return the list of type names for this type's supertypes.- Returns:
- list of type names
-
setTypeVersion
public void setTypeVersion(long typeVersion)
Set up the version number for this element's type- Parameters:
typeVersion- version number for the element type.
-
getTypeVersion
public long getTypeVersion()
Return the version number for this element's type.- Returns:
- elementTypeVersion version number for the element type.
-
setTypeDescription
public void setTypeDescription(String typeDescription)
Set up a short description of this element's type.- Parameters:
typeDescription- set up the description for this element's type
-
getTypeDescription
public String getTypeDescription()
Return the description for this element's type.- Returns:
- elementTypeDescription String description for the element type
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-