Class ConfigurationItemProperties
java.lang.Object
org.odpi.openmetadata.accessservices.itinfrastructure.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.itinfrastructure.properties.ConfigurationItemProperties
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssetProperties
,ConnectionProperties
,ConnectorTypeProperties
,EndpointProperties
,SoftwareCapabilityProperties
ConfigurationItemProperties provides the base class for infrastructure items. This extends referenceable with the ability to
set effectivity dates.
- See Also:
-
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 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).int
hashCode()
Return hash code based on 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).toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.itinfrastructure.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
ConfigurationItemProperties
public ConfigurationItemProperties()Default constructor -
ConfigurationItemProperties
Copy/clone constructor. Retrieves values from the supplied template- Parameters:
template
- element to copy
-
-
Method Details
-
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
-
toString
Standard toString method.- Overrides:
toString
in classReferenceableProperties
- 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:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int
-