Class ReferenceableProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ReferenceableProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConnectionProperties,ConnectorTypeProperties,EndpointProperties,LocationProperties,MeaningProperties,ReferenceDataAssetProperties,ValidValueProperties
public class ReferenceableProperties extends Object implements Serializable
Many open metadata entities are referenceable. It means that they have a qualified name and additional properties.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReferenceableProperties()Default constructorReferenceableProperties(ReferenceableProperties template)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.Map<String,String>getAdditionalProperties()Return a copy of the additional properties.List<ElementClassification>getClassifications()Return the list of classifications associated with the asset.Map<String,Object>getExtendedProperties()Return the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.StringgetQualifiedName()Returns the stored qualified name property for the metadata entity.StringgetTypeName()Return the name of the open metadata type for this element.inthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String,String> additionalProperties)Set up additional properties.voidsetClassifications(List<ElementClassification> classifications)Set up the classifications associated with this connection.voidsetExtendedProperties(Map<String,Object> extendedProperties)Set up the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.voidsetQualifiedName(String qualifiedName)Set up the fully qualified name.voidsetTypeName(String typeName)Set up the name of the open metadata type for this element.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
ReferenceableProperties
public ReferenceableProperties()
Default constructor
-
ReferenceableProperties
public ReferenceableProperties(ReferenceableProperties template)
Copy/clone constructor. Retrieves values from the supplied template- Parameters:
template- element to copy
-
-
Method Detail
-
setQualifiedName
public void setQualifiedName(String qualifiedName)
Set up the fully qualified name.- Parameters:
qualifiedName- String name
-
getQualifiedName
public String getQualifiedName()
Returns the stored qualified name property for the metadata entity. If no qualified name is available then the empty string is returned.- Returns:
- qualifiedName
-
setAdditionalProperties
public void setAdditionalProperties(Map<String,String> additionalProperties)
Set up additional properties.- Parameters:
additionalProperties- Additional properties object
-
getAdditionalProperties
public Map<String,String> getAdditionalProperties()
Return a copy of the additional properties. Null means no additional properties are available.- Returns:
- AdditionalProperties
-
getClassifications
public List<ElementClassification> getClassifications()
Return the list of classifications associated with the asset. This is an list and the pointers are set to the start of the list of classifications- Returns:
- Classifications list of classifications
-
setClassifications
public void setClassifications(List<ElementClassification> classifications)
Set up the classifications associated with this connection.- Parameters:
classifications- list of classifications
-
getTypeName
public String getTypeName()
Return the name of the open metadata type for this element.- Returns:
- string name
-
setTypeName
public void setTypeName(String typeName)
Set up the name of the open metadata type for this element.- Parameters:
typeName- string name
-
getExtendedProperties
public Map<String,Object> getExtendedProperties()
Return the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.- Returns:
- property map
-
setExtendedProperties
public void setExtendedProperties(Map<String,Object> extendedProperties)
Set up the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.- Parameters:
extendedProperties- property map
-
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.
-
-