Class ConfigurationItemProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.devops.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.devops.properties.ConfigurationItemProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssetProperties,ConnectionProperties,ConnectorTypeProperties,EndpointProperties,OperatingPlatformProperties,SoftwareCapabilityProperties
public class ConfigurationItemProperties extends ReferenceableProperties
ConfigurationItemProperties provides the base class for infrastructure items. This extends referenceable with the ability to set effectivity dates.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationItemProperties()Default constructorConfigurationItemProperties(ConfigurationItemProperties template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.DategetEffectiveFrom()Return the date/time that this element is effective from (null means effective from the epoch).DategetEffectiveTo()Return the date/time that element is effective to (null means that it is effective indefinitely into the future).inthashCode()Return has code based on properties.voidsetEffectiveFrom(Date effectiveFrom)Set up the date/time that this element is effective from (null means effective from the epoch).voidsetEffectiveTo(Date effectiveTo)Set the date/time that element is effective to (null means that it is effective indefinitely into the future).StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.devops.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
ConfigurationItemProperties
public ConfigurationItemProperties()
Default constructor
-
ConfigurationItemProperties
public ConfigurationItemProperties(ConfigurationItemProperties template)
Copy/clone constructor. Retrieves values from the supplied template- Parameters:
template- element to copy
-
-
Method Detail
-
getEffectiveFrom
public 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(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 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(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
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classReferenceableProperties- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int
-
-