Class ReferenceableProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetconsumer.properties.ReferenceableProperties
- Direct Known Subclasses:
MeaningProperties
ReferenceableProperties provides a structure for passing a referenceables' properties over the Java API.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return a copy of the additional properties.Return the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.Returns the stored qualified name property for the metadata entity.Return the open metadata type name of this object - this is used to create a subtype of the referenceable.int
hashCode()
Return hash code for this objectvoid
setAdditionalProperties
(Map<String, String> additionalProperties) Set up additional properties.void
setExtendedProperties
(Map<String, Object> extendedProperties) Set up the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.void
setQualifiedName
(String qualifiedName) Set up the fully qualified name.void
setTypeName
(String typeName) Set up the open metadata type name of this object - this is used to create a subtype of the referenceable.toString()
JSON-style toString.
-
Constructor Details
-
ReferenceableProperties
public ReferenceableProperties()Default constructor -
ReferenceableProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getTypeName
Return the open metadata type name of this object - this is used to create a subtype of the referenceable. Any properties associated with this subtype are passed as extended properties.- Returns:
- string type name
-
setTypeName
Set up the open metadata type name of this object - this is used to create a subtype of the referenceable. Any properties associated with this subtype are passed as extended properties.- Parameters:
typeName
- string type name
-
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
-
setQualifiedName
Set up the fully qualified name.- Parameters:
qualifiedName
- String name
-
getAdditionalProperties
Return a copy of the additional properties. Null means no additional properties are available.- Returns:
- AdditionalProperties
-
setAdditionalProperties
Set up additional properties.- Parameters:
additionalProperties
- Additional properties object
-
getExtendedProperties
Return the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.- Returns:
- map of properties
-
setExtendedProperties
Set up the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.- Parameters:
extendedProperties
- map of properties
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-