Class DuplicatesRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceengine.rest.DuplicatesRequestBody
-
- All Implemented Interfaces:
Serializable
public class DuplicatesRequestBody extends Object implements Serializable
DuplicatesRequestBody provides a structure for passing the properties associated with duplicates.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicatesRequestBody()Default constructorDuplicatesRequestBody(DuplicatesRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.StringgetMetadataElement1GUID()Gets metadata element 1 guid.StringgetMetadataElement2GUID()Gets metadata element 2 guid.StringgetNotes()Return any notes for the steward.StringgetSource()Return the details of the source that detected the duplicate.intgetStatusIdentifier()Return the status of this duplicate - usable if greater than 0, 0=proposed, negative means invalidStringgetSteward()Return the identifier of the steward that added this duplicate.StringgetStewardPropertyName()Return the name of the property used to identify the steward.StringgetStewardTypeName()Return the type name of the element used to identify the steward.inthashCode()Return hash code for this objectvoidsetMetadataElement1GUID(String metadataElement1GUID)Sets metadata element 1 guid.voidsetMetadataElement2GUID(String metadataElement2GUID)Sets metadata element 2 guid.voidsetNotes(String notes)Set up any notes for the steward.voidsetSource(String source)Set up the details of the source that detected the duplicate.voidsetStatusIdentifier(int statusIdentifier)Set up the status of this duplicate - usable if greater than 0, 0=proposed, negative means invalidvoidsetSteward(String steward)Set up the identifier of the steward that added this duplicate.voidsetStewardPropertyName(String stewardPropertyName)Return the name of the property used to identify the steward.voidsetStewardTypeName(String stewardTypeName)Set up the type name of the element used to identify the steward.StringtoString()JSON-style toString.
-
-
-
Constructor Detail
-
DuplicatesRequestBody
public DuplicatesRequestBody()
Default constructor
-
DuplicatesRequestBody
public DuplicatesRequestBody(DuplicatesRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getMetadataElement1GUID
public String getMetadataElement1GUID()
Gets metadata element 1 guid.- Returns:
- the metadata element 1 guid
-
setMetadataElement1GUID
public void setMetadataElement1GUID(String metadataElement1GUID)
Sets metadata element 1 guid.- Parameters:
metadataElement1GUID- the metadata element 1 guid
-
getMetadataElement2GUID
public String getMetadataElement2GUID()
Gets metadata element 2 guid.- Returns:
- the metadata element 2 guid
-
setMetadataElement2GUID
public void setMetadataElement2GUID(String metadataElement2GUID)
Sets metadata element 2 guid.- Parameters:
metadataElement2GUID- the metadata element 2 guid
-
getStatusIdentifier
public int getStatusIdentifier()
Return the status of this duplicate - usable if greater than 0, 0=proposed, negative means invalid- Returns:
- int
-
setStatusIdentifier
public void setStatusIdentifier(int statusIdentifier)
Set up the status of this duplicate - usable if greater than 0, 0=proposed, negative means invalid- Parameters:
statusIdentifier- int
-
getSteward
public String getSteward()
Return the identifier of the steward that added this duplicate.- Returns:
- identifier
-
setSteward
public void setSteward(String steward)
Set up the identifier of the steward that added this duplicate.- Parameters:
steward- identifier
-
getStewardTypeName
public String getStewardTypeName()
Return the type name of the element used to identify the steward.- Returns:
- type name
-
setStewardTypeName
public void setStewardTypeName(String stewardTypeName)
Set up the type name of the element used to identify the steward.- Parameters:
stewardTypeName- type name
-
getStewardPropertyName
public String getStewardPropertyName()
Return the name of the property used to identify the steward.- Returns:
- property name
-
setStewardPropertyName
public void setStewardPropertyName(String stewardPropertyName)
Return the name of the property used to identify the steward.- Parameters:
stewardPropertyName- property name
-
getSource
public String getSource()
Return the details of the source that detected the duplicate.- Returns:
- name
-
setSource
public void setSource(String source)
Set up the details of the source that detected the duplicate.- Parameters:
source- name
-
getNotes
public String getNotes()
Return any notes for the steward.- Returns:
- text
-
setNotes
public void setNotes(String notes)
Set up any notes for the steward.- Parameters:
notes- text
-
toString
public String toString()
JSON-style toString.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
-
-