Class AssetElementType
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetPropertyElementBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.AssetElementType
-
- All Implemented Interfaces:
Serializable
public class AssetElementType extends AssetPropertyElementBase
The AssetElementType provides details of the type information associated with the element. Most consumers of the properties do not need this information. It is provided to asset consumers primarily as diagnostic information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssetElementType(AssetElementType templateType)Copy/clone constructorAssetElementType(ElementType elementTypeBean)Bean constructor accepts bean version of the AssetElementType to provide the values
-
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.StringgetElementHomeMetadataCollectionId()Returns the unique identifier for the metadata collection that is managed by the repository where the element originates (its home repository).StringgetElementHomeMetadataCollectionName()Return the name of the metadata collection that this asset belongs to.StringgetElementLicense()Return the license associated with this metadata element (null means none).ElementOrigingetElementOrigin()Return the origin of the metadata element.StringgetElementSourceServer()Return the URL of the server where the element was retrieved from.protected ElementTypegetElementTypeBean()Clone the bean as part of the deep clone constructor.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.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
AssetElementType
public AssetElementType(ElementType elementTypeBean)
Bean constructor accepts bean version of the AssetElementType to provide the values- Parameters:
elementTypeBean- bean containing properties
-
AssetElementType
public AssetElementType(AssetElementType templateType)
Copy/clone constructor- Parameters:
templateType- type to clone
-
-
Method Detail
-
getElementTypeBean
protected ElementType getElementTypeBean()
Clone the bean as part of the deep clone constructor.- Returns:
- cloned element bean
-
getElementTypeId
public String getElementTypeId()
Return unique identifier for the element's type.- Returns:
- element type id
-
getElementTypeName
public String getElementTypeName()
Return name of element's type.- Returns:
- elementTypeName
-
getElementTypeVersion
public long getElementTypeVersion()
Return the version number for this element's type.- Returns:
- elementTypeVersion version number for the element type.
-
getElementTypeDescription
public String getElementTypeDescription()
Return the description for this element's type.- Returns:
- elementTypeDescription String description for the element type
-
getElementSourceServer
public String getElementSourceServer()
Return the URL of the server where the element was retrieved from. Typically this is a server where the OMAS interfaces are activated. If no URL is known for the server then null is returned.- Returns:
- elementSourceServerURL the url of the server where the element came from
-
getElementOrigin
public ElementOrigin getElementOrigin()
Return the origin of the metadata element.- Returns:
- ElementOrigin enum
-
getElementHomeMetadataCollectionId
public String getElementHomeMetadataCollectionId()
Returns the unique identifier for the metadata collection that is managed by the repository where the element originates (its home repository).- Returns:
- String metadata collection id
-
getElementHomeMetadataCollectionName
public String getElementHomeMetadataCollectionName()
Return the name of the metadata collection that this asset belongs to.- Returns:
- name string
-
getElementLicense
public String getElementLicense()
Return the license associated with this metadata element (null means none).- Returns:
- string license name
-
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.- Overrides:
equalsin classAssetPropertyElementBase- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classAssetPropertyElementBase- Returns:
- int hash code
-
-