Class DuplicateProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class DuplicateProperties
    extends AssetOwnerOMASAPIRequestBody
    DuplicatesRequestBody provides a structure for passing the properties associated with duplicates.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      java.lang.String getDuplicateGUID()
      Return the unique identifier of the duplicate.
      java.lang.String getNotes()
      Return any notes for the steward.
      java.lang.String getSource()
      Return the details of the source that detected the duplicate.
      int getStatusIdentifier()
      Return the status of this duplicate - usable if greater than 0, 0=proposed, negative means invalid
      java.lang.String getSteward()
      Return the identifier of the steward that added this duplicate.
      java.lang.String getStewardPropertyName()
      Return the name of the property used to identify the steward.
      java.lang.String getStewardTypeName()
      Return the type name of the element used to identify the steward.
      int hashCode()
      Return hash code for this object
      void setDuplicateGUID​(java.lang.String duplicateGUID)
      Set up the unique identifier of the duplicate.
      void setNotes​(java.lang.String notes)
      Set up any notes for the steward.
      void setSource​(java.lang.String source)
      Set up the details of the source that detected the duplicate.
      void setStatusIdentifier​(int statusIdentifier)
      Set up the status of this duplicate - usable if greater than 0, 0=proposed, negative means invalid
      void setSteward​(java.lang.String steward)
      Set up the identifier of the steward that added this duplicate.
      void setStewardPropertyName​(java.lang.String stewardPropertyName)
      Return the name of the property used to identify the steward.
      void setStewardTypeName​(java.lang.String stewardTypeName)
      Set up the type name of the element used to identify the steward.
      java.lang.String toString()
      JSON-style toString.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DuplicateProperties

        public DuplicateProperties()
        Default constructor
      • DuplicateProperties

        public DuplicateProperties​(DuplicateProperties template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getDuplicateGUID

        public java.lang.String getDuplicateGUID()
        Return the unique identifier of the duplicate.
        Returns:
        identifier
      • setDuplicateGUID

        public void setDuplicateGUID​(java.lang.String duplicateGUID)
        Set up the unique identifier of the duplicate.
        Parameters:
        duplicateGUID - identifier
      • 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 java.lang.String getSteward()
        Return the identifier of the steward that added this duplicate.
        Returns:
        identifier
      • setSteward

        public void setSteward​(java.lang.String steward)
        Set up the identifier of the steward that added this duplicate.
        Parameters:
        steward - identifier
      • getStewardTypeName

        public java.lang.String getStewardTypeName()
        Return the type name of the element used to identify the steward.
        Returns:
        type name
      • setStewardTypeName

        public void setStewardTypeName​(java.lang.String stewardTypeName)
        Set up the type name of the element used to identify the steward.
        Parameters:
        stewardTypeName - type name
      • getStewardPropertyName

        public java.lang.String getStewardPropertyName()
        Return the name of the property used to identify the steward.
        Returns:
        property name
      • setStewardPropertyName

        public void setStewardPropertyName​(java.lang.String stewardPropertyName)
        Return the name of the property used to identify the steward.
        Parameters:
        stewardPropertyName - property name
      • getSource

        public java.lang.String getSource()
        Return the details of the source that detected the duplicate.
        Returns:
        name
      • setSource

        public void setSource​(java.lang.String source)
        Set up the details of the source that detected the duplicate.
        Parameters:
        source - name
      • getNotes

        public java.lang.String getNotes()
        Return any notes for the steward.
        Returns:
        text
      • setNotes

        public void setNotes​(java.lang.String notes)
        Set up any notes for the steward.
        Parameters:
        notes - text
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Equals method that returns true if containing properties are the same.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        objectToCompare - object to compare
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int hash code