Class ReferenceableProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
- Direct Known Subclasses:
ActorProfileProperties
,AssetProperties
,CollectionProperties
,CommentProperties
,CommunityProperties
,ContributionRecord
,LocationProperties
,MetadataSourceProperties
,NoteLogEntryProperties
,NoteLogHeaderProperties
,ProjectProperties
,ResourceProperties
,ToDoProperties
,UserIdentityProperties
,ValidValueProperties
Many open metadata entities are referenceable. It means that they have a qualified name and additional
properties.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return a copy of the additional properties.Return the date/time that this element is effective from (null means effective from the epoch).Return the date/time that element is effective to (null means that it is effective indefinitely into the future).Return the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.Returns the stored qualified name property for the metadata entity.Return the name of the open metadata type for this metadata element.Return specific properties for the data manager vendor.int
hashCode()
Return hash code based on properties.void
setAdditionalProperties
(Map<String, String> additionalProperties) Set up additional properties.void
setEffectiveFrom
(Date effectiveFrom) Set up the date/time that this element is effective from (null means effective from the epoch).void
setEffectiveTo
(Date effectiveTo) Set the date/time that element is effective to (null means that it is effective indefinitely into the future).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.void
setQualifiedName
(String qualifiedName) Set up the fully qualified name.void
setTypeName
(String typeName) Set up the name of the open metadata type for this element.void
setVendorProperties
(Map<String, String> vendorProperties) Set up specific properties for the data manager vendor.toString()
Standard toString method.
-
Constructor Details
-
ReferenceableProperties
public ReferenceableProperties()Default constructor -
ReferenceableProperties
Copy/clone constructor. Retrieves the 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
-
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
-
getEffectiveFrom
Return the date/time that this element is effective from (null means effective from the epoch).- Returns:
- date object
-
setEffectiveFrom
Set up the date/time that this element is effective from (null means effective from the epoch).- Parameters:
effectiveFrom
- date object
-
getEffectiveTo
Return the date/time that element is effective to (null means that it is effective indefinitely into the future).- Returns:
- date object
-
setEffectiveTo
Set the date/time that element is effective to (null means that it is effective indefinitely into the future).- Parameters:
effectiveTo
- date object
-
getVendorProperties
Return specific properties for the data manager vendor.- Returns:
- name value pairs
-
setVendorProperties
Set up specific properties for the data manager vendor.- Parameters:
vendorProperties
- name value pairs
-
getTypeName
Return the name of the open metadata type for this metadata element.- Returns:
- string name
-
setTypeName
Set up the name of the open metadata type for this element.- Parameters:
typeName
- string name
-
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
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
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-