Class DuplicateElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.DuplicateElement
- All Implemented Interfaces:
MetadataElement
DuplicateElement contains the header for PeerDuplicateLink relationship, its properties and the header of the peer element.
-
Constructor Summary
ConstructorDescriptionDefault constructorDuplicateElement
(DuplicateElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Retrieve details of the duplicate itself.Return the relationship header associated with the properties.int
hashCode()
Return hash code for this objectvoid
setDuplicateProperties
(DuplicateProperties duplicateProperties) Save details of the duplicate itselfvoid
setElementHeader
(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
Return the relationship header associated with the properties.- Specified by:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the relationship header associated with the properties.- Specified by:
setElementHeader
in 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
-