Class RelationshipProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssetConnectionProperties,CapabilityDeploymentProperties,ControlFlowProperties,DataContentForDataSetProperties,DataFlowProperties,DeploymentProperties,EmbeddedConnectionProperties,ExternalGlossaryElementLinkProperties,ExternalReferenceLinkProperties,ForeignKeyProperties,GlossaryTermCategorization,GlossaryTermRelationship,LineageMappingProperties,ProcessCallProperties,ProcessContainmentProperties,ServerAssetUseProperties
public class RelationshipProperties extends Object implements Serializable
RelationshipProperties provides the base class for relationships items. This provides extended properties with the ability to set effectivity dates.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RelationshipProperties()Default constructorRelationshipProperties(RelationshipProperties 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).Map<String,Object>getExtendedProperties()Return the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.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).voidsetExtendedProperties(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.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
RelationshipProperties
public RelationshipProperties()
Default constructor
-
RelationshipProperties
public RelationshipProperties(RelationshipProperties template)
Copy/clone constructor. Retrieve 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
-
getExtendedProperties
public Map<String,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(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.- Parameters:
extendedProperties- property map
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-