Class AnswerPK

    • Constructor Detail

      • AnswerPK

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

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

        public AnswerPK​(String id,
                        WAPrimaryKey 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
        Specified by:
        equals in class WAPrimaryKey
        Parameters:
        other - the object to compare to this AnswerPK
        Returns:
        true if other is equals to this object
      • hashCode

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