Class ReferenceableProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
- Direct Known Subclasses:
ActorProperties,AssetProperties,AuthoredReferenceableProperties,CommentProperties,CommunityProperties,ConnectionProperties,ConnectorTypeProperties,ContactDetailsProperties,ContextEventProperties,ContributionRecordProperties,EndpointProperties,EngineActionElement,ExternalIdProperties,GovernanceActionType,InformalTagProperties,LocationProperties,MetadataRepositoryCohortProperties,NoteLogProperties,PortProperties,PropertyFacetProperties,SoftwareCapabilityProperties
Many open metadata entities are referenceable. It means that they have a qualified name and additional
properties.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
typeName -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return a copy of the additional properties.Return a descriptive name for the element's category.Returns the stored description property for the element.Returns the stored display name property for the element.Return the code value or symbol used to identify the element - typically unique.Returns the stored qualified name property for the metadata entity.getURL()Return the URL used to retrieve the resource that this external reference represents.Return the author-controlled version identifier.inthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String, String> additionalProperties) Set up additional properties.voidsetCategory(String category) Set up a descriptive name for the element's category.voidsetDescription(String description) Set up the stored description property for the element.voidsetDisplayName(String displayName) Set up the stored display name property for the element.voidsetIdentifier(String identifier) Set up the code value or symbol used to identify the element - typically unique.voidsetQualifiedName(String qualifiedName) Set up the fully qualified name.voidSet up the URI used to retrieve the resource that this external reference represents.voidsetVersionIdentifier(String versionIdentifier) Set up the author-controlled version identifier.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.EntityProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Constructor Details
-
ReferenceableProperties
public ReferenceableProperties()Default constructor -
ReferenceableProperties
Copy/clone constructor. Retrieves values from the supplied template- Parameters:
template- element to copy
-
-
Method Details
-
setQualifiedName
Set up the fully qualified name.- Parameters:
qualifiedName- String 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
-
getIdentifier
Return the code value or symbol used to identify the element - typically unique.- Returns:
- string identifier
-
setIdentifier
Set up the code value or symbol used to identify the element - typically unique.- Parameters:
identifier- string identifier
-
getDisplayName
Returns the stored display name property for the element. If no display name is available then null is returned.- Returns:
- String name
-
setDisplayName
Set up the stored display name property for the element.- Parameters:
displayName- String name
-
getDescription
Returns the stored description property for the element. If no description is provided then null is returned.- Returns:
- String text
-
setDescription
Set up the stored description property for the element.- Parameters:
description- String text
-
getVersionIdentifier
Return the author-controlled version identifier.- Returns:
- version identifier
-
setVersionIdentifier
Set up the author-controlled version identifier.- Parameters:
versionIdentifier- version identifier
-
getCategory
Return a descriptive name for the element's category.- Returns:
- string name
-
setCategory
Set up a descriptive name for the element's category. This field can be used to group related elements together that are used for the same activity, event through they may be different types.- Parameters:
category- string name
-
getURL
Return the URL used to retrieve the resource that this external reference represents.- Returns:
- String URI
-
setURL
Set up the URI used to retrieve the resource that this external reference represents.- Parameters:
uri- String URI
-
setAdditionalProperties
Set up additional properties.- Parameters:
additionalProperties- Additional properties object
-
getAdditionalProperties
Return a copy of the additional properties. Null means no additional properties are available.- Returns:
- AdditionalProperties
-
toString
Standard toString method.- Overrides:
toStringin classOpenMetadataRootProperties- 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 classOpenMetadataRootProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenMetadataRootProperties- Returns:
- int
-