Class WAPrimaryKey

    • Field Detail

      • id

        protected String id
        Deprecated.
        The row id in the table defined by getTableName()
        Since:
        1.0
        See Also:
        getTableName()
      • space

        protected String space
        Deprecated.
        The space where is implemented the entity
        Since:
        1.0
      • componentName

        protected String componentName
        Deprecated.
        The component name in the space
        Since:
        1.0
    • Constructor Detail

      • WAPrimaryKey

        public WAPrimaryKey​(String id)
        Deprecated.
        Constructor which set only the id
        Parameters:
        id - the unique identifier value
        Since:
        1.0
      • WAPrimaryKey

        public WAPrimaryKey​(String id,
                            String space,
                            String componentName)
        Deprecated.
        Constructor which set id, space and component name
        Parameters:
        id - the unique identifier value
        space - the space identifier
        componentName - the component instance identifier
        Since:
        1.0
      • WAPrimaryKey

        public WAPrimaryKey​(String id,
                            String componentId)
        Deprecated.
        Constructor which set id, space and component name
        Parameters:
        id - the unique identifier value
        componentId - the component instance identifier
        Since:
        1.0
      • WAPrimaryKey

        public WAPrimaryKey​(String id,
                            WAPrimaryKey pk)
        Deprecated.
        Constructor which set the id. The WAPrimaryKey provides space and component instance identifiers.
        Parameters:
        id - the unique identifier value
        pk - another primary key from which is taken the space and component instance identifiers.
        Since:
        1.0
    • Method Detail

      • equals

        public abstract boolean equals​(Object obj)
        Deprecated.
        This method must be specialized - Check if an another object is equal to this object
        Overrides:
        equals in class Object
        Parameters:
        obj - the object to compare to this WAPrimaryKey
        Returns:
        true if obj is equals to this object
        Since:
        1.0
      • getRootTableName

        public String getRootTableName()
        Deprecated.
        Return the object root table name
        Returns:
        the root table name of the object (exemple : Publication, Node, ...)
        Since:
        1.0
      • getId

        public String getId()
        Deprecated.
        Get the row id of this object
        Returns:
        the id
        Since:
        1.0
      • setId

        public void setId​(String val)
        Deprecated.
        Set the row id of this object
        Parameters:
        val - the row id
        Since:
        1.0
      • getSpace

        public String getSpace()
        Deprecated.
        Get the space of this object
        Returns:
        the space
        Since:
        1.0
      • setSpace

        public void setSpace​(String space)
        Deprecated.
        Set the space of this object
        Parameters:
        space - the space
        Since:
        1.0
      • getComponentName

        public String getComponentName()
        Deprecated.
        Get the component name of this object
        Returns:
        the component name
        Since:
        1.0
      • setComponentName

        public void setComponentName​(String componentName)
        Deprecated.
        Set the component name of this object
        Parameters:
        componentName - the component name
        Since:
        1.0
      • getTableName

        public String getTableName()
        Deprecated.
        Get the database table name where the object is stored
        Returns:
        the database table name where the object is stored : space + componentName + rootTableName (ex : ED1KmeliaPublication)
        Since:
        1.0
        See Also:
        getRootTableName()
      • getTableName

        public String getTableName​(String space,
                                   String componentName)
        Deprecated.
        Get the database table name where the object is stored rootTableName (ex : ED1KmeliaPublication)
        Parameters:
        space - a space name
        componentName - a component name
        Returns:
        the database table name where the object is stored : space + componentName +
        Since:
        1.0
      • toString

        public String toString()
        Deprecated.
        Converts the contents of the key into a readable String.
        Overrides:
        toString in class Object
        Returns:
        The string representation of this object
      • hashCode

        public int hashCode()
        Deprecated.
        Returns a hash code for the key
        Overrides:
        hashCode in class Object
        Returns:
        A hash code for this object
      • getSpaceId

        public String getSpaceId()
        Deprecated.
      • getInstanceId

        public String getInstanceId()
        Deprecated.