Class ReferenceableProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.datamanager.properties.ReferenceableProperties
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AssetProperties
,ConnectionProperties
,ConnectorTypeProperties
,DatabaseSchemaTypeProperties
,EndpointProperties
,SchemaElementProperties
,SoftwareCapabilitiesProperties
,ValidValueProperties
,ValidValueSetProperties
public class ReferenceableProperties extends java.lang.Object implements java.io.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 boolean
equals(java.lang.Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.java.util.Map<java.lang.String,java.lang.String>
getAdditionalProperties()
Return a copy of the additional properties.java.util.Date
getEffectiveFrom()
Return the date/time that this element is effective from (null means effective from the epoch).java.util.Date
getEffectiveTo()
Return the date/time that element is effective to (null means that it is effective indefinitely into the future).java.util.Map<java.lang.String,java.lang.Object>
getExtendedProperties()
Return the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.java.lang.String
getQualifiedName()
Returns the stored qualified name property for the metadata entity.java.lang.String
getTypeName()
Return the name of the open metadata type for this metadata element.java.util.Map<java.lang.String,java.lang.String>
getVendorProperties()
Return specific properties for the data manager vendor.int
hashCode()
Return hash code based on properties.void
setAdditionalProperties(java.util.Map<java.lang.String,java.lang.String> additionalProperties)
Set up additional properties.void
setEffectiveFrom(java.util.Date effectiveFrom)
Set up the date/time that this element is effective from (null means effective from the epoch).void
setEffectiveTo(java.util.Date effectiveTo)
Set the date/time that element is effective to (null means that it is effective indefinitely into the future).void
setExtendedProperties(java.util.Map<java.lang.String,java.lang.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(java.lang.String qualifiedName)
Set up the fully qualified name.void
setTypeName(java.lang.String typeName)
Set up the name of the open metadata type for this element.void
setVendorProperties(java.util.Map<java.lang.String,java.lang.String> vendorProperties)
Set up specific properties for the data manager vendor.java.lang.String
toString()
Standard toString method.
-
-
-
Constructor Detail
-
ReferenceableProperties
public ReferenceableProperties()
Default constructor
-
ReferenceableProperties
public ReferenceableProperties(ReferenceableProperties template)
Copy/clone constructor. Retrieves the values from the supplied template- Parameters:
template
- element to copy
-
-
Method Detail
-
setQualifiedName
public void setQualifiedName(java.lang.String qualifiedName)
Set up the fully qualified name.- Parameters:
qualifiedName
- String name
-
getQualifiedName
public java.lang.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(java.util.Map<java.lang.String,java.lang.String> additionalProperties)
Set up additional properties.- Parameters:
additionalProperties
- Additional properties object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.String> getAdditionalProperties()
Return a copy of the additional properties. Null means no additional properties are available.- Returns:
- AdditionalProperties
-
getEffectiveFrom
public java.util.Date getEffectiveFrom()
Return the date/time that this element is effective from (null means effective from the epoch).- Returns:
- date object
-
setEffectiveFrom
public void setEffectiveFrom(java.util.Date effectiveFrom)
Set up the date/time that this element is effective from (null means effective from the epoch).- Parameters:
effectiveFrom
- date object
-
getEffectiveTo
public java.util.Date getEffectiveTo()
Return the date/time that element is effective to (null means that it is effective indefinitely into the future).- Returns:
- date object
-
setEffectiveTo
public void setEffectiveTo(java.util.Date effectiveTo)
Set the date/time that element is effective to (null means that it is effective indefinitely into the future).- Parameters:
effectiveTo
- date object
-
getVendorProperties
public java.util.Map<java.lang.String,java.lang.String> getVendorProperties()
Return specific properties for the data manager vendor.- Returns:
- name value pairs
-
setVendorProperties
public void setVendorProperties(java.util.Map<java.lang.String,java.lang.String> vendorProperties)
Set up specific properties for the data manager vendor.- Parameters:
vendorProperties
- name value pairs
-
getTypeName
public java.lang.String getTypeName()
Return the name of the open metadata type for this metadata element.- Returns:
- string name
-
setTypeName
public void setTypeName(java.lang.String typeName)
Set up the name of the open metadata type for this element.- Parameters:
typeName
- string name
-
getExtendedProperties
public java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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 java.lang.String toString()
Standard toString method.- Overrides:
toString
in classjava.lang.Object
- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(java.lang.Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classjava.lang.Object
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code based on properties.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- int
-
-