Class RelationshipProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
- Direct Known Subclasses:
AdjacentLocationProperties,AgreementRoleProperties,AssetConnectionProperties,AssetLocationProperties,AssignmentScopeProperties,CapabilityDeploymentProperties,CertificationProperties,CollectionMembershipProperties,CommunityMembershipProperties,ControlFlowProperties,DatabaseForeignKeyProperties,DataContentForDataSetProperties,DataFlowProperties,DeploymentProperties,DigitalServiceDependencyProperties,DigitalServiceOperatorProperties,DigitalSupportProperties,DuplicateProperties,EmbeddedConnectionProperties,ExternalGlossaryElementLinkProperties,ExternalReferenceLinkProperties,FeedbackProperties,ForeignKeyProperties,GlossaryTermCategorization,GlossaryTermRelationship,GovernanceDefinitionMetricProperties,GovernanceResultsProperties,LicenseProperties,LineageMappingProperties,NestedLocationProperties,OrganizationalCapabilityProperties,PeerDefinitionProperties,PlatformDeploymentProperties,ProcessCallProperties,ProcessContainmentProperties,ProfileIdentityProperties,ProfileLocationProperties,ProjectTeamProperties,ReferenceValueAssignmentProperties,ResourceListProperties,SchemaAttributeRelationshipProperties,SemanticAssignmentProperties,ServerAssetUseProperties,StakeholderProperties,StakeholderProperties,SupportingDefinitionProperties,ValidValueAssignmentProperties,ValidValueMembershipProperties,ValidValuesImplProperties,ValidValuesMappingProperties
RelationshipProperties provides the base class for relationships items. This provides extended properties with the ability to
set effectivity dates.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorRelationshipProperties(RelationshipProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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).Return the properties that have been defined for a subtype of this object that are not supported explicitly by this bean.inthashCode()Return hash 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.toString()Standard toString method.
-
Constructor Details
-
RelationshipProperties
public RelationshipProperties()Default constructor -
RelationshipProperties
Copy/clone constructor. Retrieve 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
-
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.
-