Class ReferenceableRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.OCFOMASAPIRequestBody
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.rest.ReferenceableRequestBody
ReferenceableRequestBody provides a structure for passing a referenceables' properties as a request body over a REST API.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return a copy of the additional properties.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassification>Return the classifications associated with this referenceable.Return the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.Meaning>Return the assigned meanings for this metadata entity.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.inthashCode()Return hash code for this objectvoidsetAdditionalProperties(Map<String, String> additionalProperties) Set up additional properties.voidsetClassifications(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassification> classifications) Set up the list of classifications associated with this referenceable.voidsetExtendedProperties(Map<String, Object> extendedProperties) Set up the properties that are defined for a subtype of referenceable but are not explicitly supported by the bean.voidsetMeanings(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.Meaning> meanings) Set up the assigned meanings for this metadata entity.voidsetQualifiedName(String qualifiedName) Set up the fully qualified name.voidsetTypeName(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
-
ReferenceableRequestBody
public ReferenceableRequestBody()Default constructor -
ReferenceableRequestBody
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
-
getClassifications
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassification> getClassifications()Return the classifications associated with this referenceable.- Returns:
- list of classifications with their properties
-
setClassifications
public void setClassifications(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementClassification> classifications) Set up the list of classifications associated with this referenceable.- Parameters:
classifications- list of classifications with their properties
-
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
-
getMeanings
Return the assigned meanings for this metadata entity.- Returns:
- list of meanings
-
setMeanings
public void setMeanings(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.Meaning> meanings) Set up the assigned meanings for this metadata entity.- Parameters:
meanings- list of meanings
-
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.- Overrides:
toStringin classOCFOMASAPIRequestBody- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-