Class DuplicateElement
java.lang.Object
org.odpi.openmetadata.accessservices.stewardshipaction.metadataelements.DuplicateElement
- All Implemented Interfaces:
MetadataElement
DuplicateElement contains the header for PeerDuplicateLink relationship, its properties and the header of the peer element.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorDuplicateElement(DuplicateElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Retrieve details of the duplicate itself.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn the relationship header associated with the properties.inthashCode()Return hash code for this objectvoidsetDuplicateProperties(DuplicateProperties duplicateProperties) Save details of the duplicate itselfvoidsetElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) Set up the relationship header associated with the properties.toString()JSON-style toString
-
Constructor Details
-
DuplicateElement
public DuplicateElement()Default constructor -
DuplicateElement
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getElementHeader
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getElementHeader()Return the relationship header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) Set up the relationship header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getDuplicateProperties
Retrieve details of the duplicate itself.- Returns:
- properties bean
-
setDuplicateProperties
Save details of the duplicate itself- Parameters:
duplicateProperties- properties bean
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-