public class NewMetadataElementRequestBody extends Object implements Serializable
| Constructor and Description |
|---|
NewMetadataElementRequestBody()
Default constructor
|
NewMetadataElementRequestBody(NewMetadataElementRequestBody template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
|
Date |
getEffectiveFrom()
Return the date/time that this new element becomes effective in the governance program (null means immediately).
|
Date |
getEffectiveTo()
Return the date/time when the new element is no longer effective in the governance program (null means until deleted).
|
ElementStatus |
getInitialStatus()
Return the initial status of the metadata element (typically ACTIVE).
|
ElementProperties |
getProperties()
Return the properties for the new metadata element.
|
String |
getTemplateGUID()
Returns the unique identifier of the element to use as a template (optional).
|
String |
getTypeName()
Return the open metadata type name for the new metadata element.
|
int |
hashCode()
Return hash code for this object
|
void |
setEffectiveFrom(Date effectiveFrom)
Set up the date/time that this new element becomes effective in the governance program (null means immediately).
|
void |
setEffectiveTo(Date effectiveTo)
Set up the date/time when the new element is no longer effective in the governance program (null means until deleted).
|
void |
setInitialStatus(ElementStatus initialStatus)
Set up the initial status of the metadata element (typically ACTIVE).
|
void |
setProperties(ElementProperties properties)
Set up the properties for the new metadata element.
|
void |
setTemplateGUID(String templateGUID)
Set up the unique identifier of the element to use as a template (optional).
|
void |
setTypeName(String typeName)
Set up the open metadata type name for the new metadata element.
|
String |
toString()
JSON-style toString.
|
public NewMetadataElementRequestBody()
public NewMetadataElementRequestBody(NewMetadataElementRequestBody template)
template - object to copypublic String getTypeName()
public void setTypeName(String typeName)
typeName - string namepublic ElementStatus getInitialStatus()
public void setInitialStatus(ElementStatus initialStatus)
initialStatus - element status enum valuepublic Date getEffectiveFrom()
public void setEffectiveFrom(Date effectiveFrom)
effectiveFrom - date objectpublic Date getEffectiveTo()
public void setEffectiveTo(Date effectiveTo)
effectiveTo - date objectpublic ElementProperties getProperties()
public void setProperties(ElementProperties properties)
properties - list of propertiespublic void setTemplateGUID(String templateGUID)
templateGUID - String guidpublic String getTemplateGUID()
public String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.