Class ElementType
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.discovery.properties.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>getElementSuperTypeNames()Return the list of type names for this type's supertypes.StringgetElementTypeDescription()Return the description for this element's type.StringgetElementTypeId()Return unique identifier for the element's type.StringgetElementTypeName()Return name of element's type.longgetElementTypeVersion()Return the version number for this element's type.inthashCode()Create a hash code for this element type.voidsetElementSuperTypeNames(List<String> elementSuperTypeNames)Set up the list of type names for this type's supertypes.voidsetElementTypeDescription(String elementTypeDescription)Set up a short description of this element's type.voidsetElementTypeId(String elementTypeId)Set up the unique identifier for the element's type.voidsetElementTypeName(String elementTypeName)Set up the name of this element's typevoidsetElementTypeVersion(long elementTypeVersion)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
-
setElementTypeId
public void setElementTypeId(String elementTypeId)
Set up the unique identifier for the element's type.- Parameters:
elementTypeId- String identifier
-
getElementTypeId
public String getElementTypeId()
Return unique identifier for the element's type.- Returns:
- element type id
-
setElementTypeName
public void setElementTypeName(String elementTypeName)
Set up the name of this element's type- Parameters:
elementTypeName- String name
-
getElementTypeName
public String getElementTypeName()
Return name of element's type.- Returns:
- elementTypeName
-
setElementSuperTypeNames
public void setElementSuperTypeNames(List<String> elementSuperTypeNames)
Set up the list of type names for this type's supertypes.- Parameters:
elementSuperTypeNames- list of type names
-
getElementSuperTypeNames
public List<String> getElementSuperTypeNames()
Return the list of type names for this type's supertypes.- Returns:
- list of type names
-
setElementTypeVersion
public void setElementTypeVersion(long elementTypeVersion)
Set up the version number for this element's type- Parameters:
elementTypeVersion- version number for the element type.
-
getElementTypeVersion
public long getElementTypeVersion()
Return the version number for this element's type.- Returns:
- elementTypeVersion version number for the element type.
-
setElementTypeDescription
public void setElementTypeDescription(String elementTypeDescription)
Set up a short description of this element's type.- Parameters:
elementTypeDescription- set up the description for this element's type
-
getElementTypeDescription
public String getElementTypeDescription()
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.
-
-