Class ElementType
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementType
-
- All Implemented Interfaces:
Serializable
public class ElementType extends ElementControlHeader
The ElementType bean provides details of the type information associated with a metadata element. It also includes the control information related the element's origin and how this element was created and maintained.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
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.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getElementCreatedBy, getElementCreateTime, getElementLicense, getElementMaintainedBy, getElementMetadataCollectionId, getElementMetadataCollectionName, getElementOrigin, getElementSourceServer, getElementUpdatedBy, getElementUpdateTime, getElementVersion, getMappingProperties, getStatus, setElementCreatedBy, setElementCreateTime, setElementLicense, setElementMaintainedBy, setElementMetadataCollectionId, setElementMetadataCollectionName, setElementOrigin, setElementSourceServer, setElementUpdatedBy, setElementUpdateTime, setElementVersion, setMappingProperties, setStatus
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
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.- Overrides:
toStringin classElementControlHeader- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classElementControlHeader- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classElementControlHeader- Returns:
- int hash code
-
-