Class ElementType
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementType
The ElementType bean provides details of the type information associated with a metadata element.
-
Constructor Summary
ConstructorDescriptionDefault constructorElementType
(ElementType templateType) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the list of type names for this type's supertypes.Return the description for this element's type.Return unique identifier for the element's type.Return name of element's type.long
Return the version number for this element's type.int
hashCode()
Create a hash code for this element type.void
setSuperTypeNames
(List<String> superTypeNames) Set up the list of type names for this type's supertypes.void
setTypeDescription
(String typeDescription) Set up a short description of this element's type.void
Set up the unique identifier for the element's type.void
setTypeName
(String typeName) Set up the name of this element's typevoid
setTypeVersion
(long typeVersion) Set up the version number for this element's typetoString()
Standard toString method.
-
Constructor Details
-
ElementType
public ElementType()Default constructor -
ElementType
Copy/clone constructor- Parameters:
templateType
- type to clone
-
-
Method Details
-
setTypeId
Set up the unique identifier for the element's type.- Parameters:
typeId
- String identifier
-
getTypeId
Return unique identifier for the element's type.- Returns:
- element type id
-
setTypeName
Set up the name of this element's type- Parameters:
typeName
- String name
-
getTypeName
Return name of element's type.- Returns:
- elementTypeName
-
setSuperTypeNames
Set up the list of type names for this type's supertypes.- Parameters:
superTypeNames
- list of type names
-
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
Set up a short description of this element's type.- Parameters:
typeDescription
- set up the description for this element's type
-
getTypeDescription
Return the description for this element's type.- Returns:
- elementTypeDescription String description for the element type
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-