public class NewRelatedElementsRequestBody extends Object implements Serializable
| Constructor and Description |
|---|
NewRelatedElementsRequestBody()
Default constructor
|
NewRelatedElementsRequestBody(NewRelatedElementsRequestBody 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 relationship becomes effective in the governance program (null means immediately).
|
Date |
getEffectiveTo()
Return the date/time when the new relationship is no longer effective in the governance program (null means until deleted).
|
String |
getMetadataElement1GUID()
Returns the unique identifier of the metadata element at end 1 of the relationship.
|
String |
getMetadataElement2GUID()
Returns the unique identifier of the metadata element at end 2 of the relationship.
|
ElementProperties |
getProperties()
Return the properties for the new relationship.
|
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 relationship becomes effective in the governance program (null means immediately).
|
void |
setEffectiveTo(Date effectiveTo)
Set up the date/time when the new relationship is no longer effective in the governance program (null means until deleted).
|
void |
setMetadataElement1GUID(String metadataElement1GUID)
Set up the unique identifier of the metadata element at end 1 of the relationship.
|
void |
setMetadataElement2GUID(String metadataElement2GUID)
Set up the unique identifier of the metadata element at end 2 of the relationship.
|
void |
setProperties(ElementProperties properties)
Set up the properties for the new relationship.
|
void |
setTypeName(String typeName)
Set up the open metadata type name for the new metadata element.
|
String |
toString()
JSON-style toString.
|
public NewRelatedElementsRequestBody()
public NewRelatedElementsRequestBody(NewRelatedElementsRequestBody template)
template - object to copypublic String getTypeName()
public void setTypeName(String typeName)
typeName - string namepublic void setMetadataElement1GUID(String metadataElement1GUID)
metadataElement1GUID - String guidpublic String getMetadataElement1GUID()
public void setMetadataElement2GUID(String metadataElement2GUID)
metadataElement2GUID - String guidpublic String getMetadataElement2GUID()
public 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 String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.