Class ReferenceDataAssetProperties
java.lang.Object
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ReferenceDataAssetProperties
ReferenceDataAssetProperties is a java bean used to create assets associated with the digital architecture.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Returns the stored description property for the asset.getName()Returns the stored display name property for the asset.inthashCode()Return hash code based on properties.voidsetDescription(String description) Set up the stored description property associated with the asset.voidSet up the stored display name property for the asset.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName
-
Constructor Details
-
ReferenceDataAssetProperties
public ReferenceDataAssetProperties()Default constructor -
ReferenceDataAssetProperties
Copy/clone constructor. Note, this is a deep copy- Parameters:
template- object to copy
-
-
Method Details
-
getName
Returns the stored display name property for the asset. If no display name is available then null is returned.- Returns:
- String name
-
setName
Set up the stored display name property for the asset.- Parameters:
name- String name
-
getDescription
Returns the stored description property for the asset. If no description is provided then null is returned.- Returns:
- description String text
-
setDescription
Set up the stored description property associated with the asset.- Parameters:
description- String text
-
toString
Standard toString method.- Overrides:
toStringin classReferenceableProperties- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int
-