Class DuplicateProperties
java.lang.Object
org.odpi.openmetadata.accessservices.stewardshipaction.properties.DuplicateProperties
DuplicatesProperties provides a structure for passing the properties associated with duplicates.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorDuplicateProperties(DuplicateProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStubReturn the unique identifier of the duplicate.getNotes()Return any notes for the steward.Return the details of the source that detected the duplicate.intReturn the status of this duplicate - usable if greater than 0, 0=proposed, negative means invalidReturn the identifier of the steward that added this duplicate.Return the name of the property used to identify the steward.Return the type name of the element used to identify the steward.inthashCode()Return hash code for this objectvoidsetDuplicateElement(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub duplicateElement) Set up the header of the duplicate.voidSet up any notes for the steward.voidSet 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.toString()JSON-style toString.
-
Constructor Details
-
DuplicateProperties
public DuplicateProperties()Default constructor -
DuplicateProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getDuplicateElement
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub getDuplicateElement()Return the unique identifier of the duplicate.- Returns:
- header
-
setDuplicateElement
public void setDuplicateElement(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub duplicateElement) Set up the header of the duplicate.- Parameters:
duplicateElement- header
-
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
Return the identifier of the steward that added this duplicate.- Returns:
- identifier
-
setSteward
Set up the identifier of the steward that added this duplicate.- Parameters:
steward- identifier
-
getStewardTypeName
Return the type name of the element used to identify the steward.- Returns:
- type name
-
setStewardTypeName
Set up the type name of the element used to identify the steward.- Parameters:
stewardTypeName- type name
-
getStewardPropertyName
Return the name of the property used to identify the steward.- Returns:
- property name
-
setStewardPropertyName
Return the name of the property used to identify the steward.- Parameters:
stewardPropertyName- property name
-
getSource
Return the details of the source that detected the duplicate.- Returns:
- name
-
setSource
Set up the details of the source that detected the duplicate.- Parameters:
source- name
-
getNotes
Return any notes for the steward.- Returns:
- text
-
setNotes
Set up any notes for the steward.- Parameters:
notes- text
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-