Class RelatedMetadataElementSummary
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedMetadataElementSummary
- Direct Known Subclasses:
- CertificationElement,- RelatedMetadataHierarchySummary,- RelatedMetadataNodeSummary
RelatedBy contains the properties and header for a relationship retrieved from the metadata repository along with the stub
 of the related element.
- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructorCopy/clone constructor
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the date/time that this instance should start to be used (null means it can be used from creationTime).Return the date/time that this instance should no longer be used.Return the element header associated with end 1 of the relationship.booleanReturn whether the element is at end 1 of the relationship.Return the element header associated with the relationship.Return details of the relationshipinthashCode()Return hash code for this objectvoidsetEffectiveFromTime(Date effectiveFromTime) Set up the date/time that this instance should start to be used (null means it can be used from creationTime).voidsetEffectiveToTime(Date effectiveToTime) Set up the date/time that this instance should no longer be used.voidsetRelatedElement(MetadataElementSummary relatedElement) Set up the element header associated with end 1 of the relationship.voidsetRelatedElementAtEnd1(boolean relatedElementAtEnd1) Set up whether the element is at end 1 of the relationship.voidsetRelationshipHeader(ElementHeader relationshipHeader) Set up the element header associated with the relationship.voidsetRelationshipProperties(RelationshipBeanProperties relationshipProperties) Set up relationship propertiestoString()JSON-style toString
- 
Constructor Details- 
RelatedMetadataElementSummarypublic RelatedMetadataElementSummary()Default constructor
- 
RelatedMetadataElementSummaryCopy/clone constructor- Parameters:
- template- object to copy
 
 
- 
- 
Method Details- 
getRelationshipHeaderReturn the element header associated with the relationship.- Returns:
- element header object
 
- 
setRelationshipHeaderSet up the element header associated with the relationship.- Parameters:
- relationshipHeader- element header object
 
- 
getEffectiveFromTimeReturn the date/time that this instance should start to be used (null means it can be used from creationTime).- Returns:
- Date object
 
- 
setEffectiveFromTimeSet up the date/time that this instance should start to be used (null means it can be used from creationTime).- Parameters:
- effectiveFromTime- Date object
 
- 
getEffectiveToTimeReturn the date/time that this instance should no longer be used.- Returns:
- Date object
 
- 
setEffectiveToTimeSet up the date/time that this instance should no longer be used.- Parameters:
- effectiveToTime- Date object
 
- 
getRelationshipPropertiesReturn details of the relationship- Returns:
- relationship properties
 
- 
setRelationshipPropertiesSet up relationship properties- Parameters:
- relationshipProperties- relationship properties
 
- 
getRelatedElementReturn the element header associated with end 1 of the relationship.- Returns:
- element stub object
 
- 
setRelatedElementSet up the element header associated with end 1 of the relationship.- Parameters:
- relatedElement- element stub object
 
- 
getRelatedElementAtEnd1public boolean getRelatedElementAtEnd1()Return whether the element is at end 1 of the relationship.- Returns:
- boolean
 
- 
setRelatedElementAtEnd1public void setRelatedElementAtEnd1(boolean relatedElementAtEnd1) Set up whether the element is at end 1 of the relationship.- Parameters:
- relatedElementAtEnd1- boolean
 
- 
toStringJSON-style toString
- 
equalsReturn comparison result based on the content of the properties.
- 
hashCodepublic int hashCode()Return hash code for this object
 
-