Class ContactPK

    • Constructor Detail

      • ContactPK

        public ContactPK​(String id)
        Constructor which set only the id
        Since:
        1.0
      • ContactPK

        public ContactPK​(String id,
                         String componentName)
        Constructor which set the id The WAPrimaryKey provides space and component name
        Since:
        1.0
      • ContactPK

        public ContactPK​(String id,
                         ResourceReference pk)
        Constructor which set the id The WAPrimaryKey provides space and component name
        Since:
        1.0
    • Method Detail

      • getRootTableName

        public String getRootTableName()
        Return the object root table name
        Overrides:
        getRootTableName in class WAPrimaryKey
        Returns:
        the root table name of the object
        Since:
        1.0
      • equals

        public boolean equals​(Object other)
        Check if an another object is equal to this object
        Overrides:
        equals in class ResourceReference
        Parameters:
        other - the object to compare to this ContactPK
        Returns:
        true if other is equals to this object
        Since:
        1.0
      • setContactDetail

        public void setContactDetail​(ContactDetail contactDetail)
      • hashCode

        public int hashCode()
        Returns a hash code for the key
        Overrides:
        hashCode in class ResourceReference
        Returns:
        A hash code for this object