Class DocumentPK

    • Constructor Detail

      • DocumentPK

        public DocumentPK​(int id)
        Constructor declaration
        Parameters:
        id -
      • DocumentPK

        public DocumentPK​(int id,
                          String spaceId,
                          String componentId)
        Constructor declaration
        Parameters:
        id -
        spaceId -
        componentId -
      • DocumentPK

        public DocumentPK​(int id,
                          String componentId)
        Constructor declaration
        Parameters:
        id -
        componentId -
      • DocumentPK

        public DocumentPK​(int id,
                          WAPrimaryKey pk)
        Constructor declaration
        Parameters:
        id -
        pk -
    • Method Detail

      • getRootTableName

        public String getRootTableName()
        Description copied from class: WAPrimaryKey
        Return the object root table name
        Overrides:
        getRootTableName in class WAPrimaryKey
        Returns:
        the root table name of the object (exemple : Publication, Node, ...)
      • toString

        public String toString()
        Description copied from class: WAPrimaryKey
        Converts the contents of the key into a readable String.
        Overrides:
        toString in class WAPrimaryKey
        Returns:
        The string representation of this object
      • equals

        public boolean equals​(Object o)
        Description copied from class: WAPrimaryKey
        This method must be specialized - Check if an another object is equal to this object
        Specified by:
        equals in class WAPrimaryKey
        Parameters:
        o - the object to compare to this WAPrimaryKey
        Returns:
        true if obj is equals to this object
      • hashCode

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