Class ElementType
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.governanceaction.properties.ElementType
-
- All Implemented Interfaces:
Serializable
public class ElementType extends Object implements Serializable
The ElementType bean provides details of the type information associated with an open metadata element.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementType()Default constructorElementType(ElementType template)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.List<String>getElementValidProperties()Return the list of properties that valid for this type of element.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 typevoidsetElementValidProperties(List<String> elementValidProperties)Set up the list of properties that valid for this type of element.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
ElementType
public ElementType()
Default constructor
-
ElementType
public ElementType(ElementType template)
Copy/clone constructor- Parameters:
template- template to copy
-
-
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
-
setElementValidProperties
public void setElementValidProperties(List<String> elementValidProperties)
Set up the list of properties that valid for this type of element. Most properties are optional so if a property does not appear in its base properties then it is not set in the open metadata store.- Parameters:
elementValidProperties- list of property names
-
getElementValidProperties
public List<String> getElementValidProperties()
Return the list of properties that valid for this type of element. Most properties are optional so if a property does not appear in its base properties then it is not set in the open metadata store.- Returns:
- list of property names
-
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.
-
-