Class Type
java.lang.Object
org.odpi.openmetadata.viewservices.assetcatalog.beans.Type
The Type object holds properties that are used for displaying the Open Metadata Types
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Returns the description of the type.getName()
Returns the type name.Returns the super type of the current type.Returns the version of the type.int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up the description of the type.void
Set up the type name.void
setSuperType
(String superType) Set up the super type of the current type.void
setVersion
(Long version) Set up the version of the type.toString()
Standard toString method.
-
Constructor Details
-
Type
public Type()Default constructor.
-
-
Method Details
-
getName
Returns the type name.- Returns:
- the type name
-
setName
Set up the type name.- Parameters:
name
- the type name
-
getDescription
Returns the description of the type.- Returns:
- the description of the type
-
setDescription
Set up the description of the type.- Parameters:
description
- the description of the type
-
getVersion
Returns the version of the type.- Returns:
- the version of the type
-
setVersion
Set up the version of the type.- Parameters:
version
- the version of the type
-
getSuperType
Returns the super type of the current type.- Returns:
- the super type of the current type
-
setSuperType
Set up the super type of the current type.- Parameters:
superType
- the super type of the current type
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-