public class OpenMetadataElement extends ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION| Constructor and Description |
|---|
OpenMetadataElement()
Typical Constructor
|
OpenMetadataElement(OpenMetadataElement 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.
|
List<ElementClassification> |
getClassifications()
Return the list of classifications associated with the metadata element.
|
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.
|
String |
getElementGUID()
Return the unique id for the metadata element.
|
ElementProperties |
getElementProperties()
Return the properties that are stored with the metadata element.
|
ElementType |
getElementType()
Return the element type properties for this metadata element.
|
int |
hashCode()
Create a hash code for this element type.
|
void |
setClassifications(List<ElementClassification> classifications)
Set up the list of classifications associated with the metadata element.
|
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 |
setElementGUID(String guid)
Set up the unique id for the metadata element.
|
void |
setElementProperties(ElementProperties elementProperties)
Set up the properties that are stored with the metadata element.
|
void |
setElementType(ElementType type)
Set up the element type properties for this metadata element.
|
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 OpenMetadataElement()
public OpenMetadataElement(OpenMetadataElement template)
template - object being copiedpublic String getElementGUID()
public void setElementGUID(String guid)
guid - String unique identifierpublic ElementType getElementType()
public void setElementType(ElementType type)
type - element type propertiespublic Date getEffectiveFromTime()
public void setEffectiveFromTime(Date effectiveFromTime)
effectiveFromTime - Date objectpublic Date getEffectiveToTime()
public void setEffectiveToTime(Date effectiveToTime)
effectiveToTime - Date objectpublic List<ElementClassification> getClassifications()
public void setClassifications(List<ElementClassification> classifications)
classifications - list of classificationspublic ElementProperties getElementProperties()
public void setElementProperties(ElementProperties elementProperties)
elementProperties - property mappublic 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.