public class RelatedMetadataElement extends ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION| Constructor and Description |
|---|
RelatedMetadataElement()
Typical Constructor
|
RelatedMetadataElement(RelatedMetadataElement template)
Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as
long as the template object is not null;
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
Date |
getEffectiveFromTime()
Return the date/time that this instance should start to be used (null means it can be used from creationTime).
|
Date |
getEffectiveToTime()
Return the date/time that this instance should no longer be used.
|
OpenMetadataElement |
getElementProperties()
Return the properties of the related element.
|
String |
getRelationshipGUID()
Return the unique id for the relationship .
|
ElementProperties |
getRelationshipProperties()
Return the properties associated with the relationship.
|
ElementType |
getRelationshipType()
Return the element type properties for this relationship object.
|
int |
hashCode()
Create a hash code for this element type.
|
void |
setEffectiveFromTime(Date effectiveFromTime)
Set up the date/time that this instance should start to be used (null means it can be used from creationTime).
|
void |
setEffectiveToTime(Date effectiveToTime)
Set up the date/time that this instance should no longer be used.
|
void |
setElementProperties(OpenMetadataElement elementProperties)
Set up the properties of the related element.
|
void |
setRelationshipGUID(String guid)
Set up the unique id for the relationship.
|
void |
setRelationshipProperties(ElementProperties relationshipProperties)
Set up the properties associated with the relationship.
|
void |
setRelationshipType(ElementType relationshipType)
Set up the element type properties for this relationship object.
|
String |
toString()
Standard toString method.
|
getElementCreatedBy, getElementCreateTime, getElementLicense, getElementMaintainedBy, getElementMetadataCollectionId, getElementMetadataCollectionName, getElementOriginCategory, getElementSourceServer, getElementUpdatedBy, getElementUpdateTime, getElementVersion, getHeaderVersion, getMappingProperties, getStatus, setElementCreatedBy, setElementCreateTime, setElementLicense, setElementMaintainedBy, setElementMetadataCollectionId, setElementMetadataCollectionName, setElementOriginCategory, setElementSourceServer, setElementUpdatedBy, setElementUpdateTime, setElementVersion, setHeaderVersion, setMappingProperties, setStatuspublic RelatedMetadataElement()
public RelatedMetadataElement(RelatedMetadataElement template)
template - object being copiedpublic String getRelationshipGUID()
public void setRelationshipGUID(String guid)
guid - String unique identifierpublic ElementType getRelationshipType()
public void setRelationshipType(ElementType relationshipType)
relationshipType - element type propertiespublic Date getEffectiveFromTime()
public void setEffectiveFromTime(Date effectiveFromTime)
effectiveFromTime - Date objectpublic Date getEffectiveToTime()
public void setEffectiveToTime(Date effectiveToTime)
effectiveToTime - Date objectpublic ElementProperties getRelationshipProperties()
public void setRelationshipProperties(ElementProperties relationshipProperties)
relationshipProperties - property names and valuespublic OpenMetadataElement getElementProperties()
public void setElementProperties(OpenMetadataElement elementProperties)
elementProperties - related elementpublic String toString()
toString in class ElementControlHeaderpublic boolean equals(Object objectToCompare)
equals in class ElementControlHeaderobjectToCompare - supplied objectpublic int hashCode()
hashCode in class ElementControlHeaderCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.