Class BaseLink


  • public abstract class BaseLink
    extends Object
    Stores a minimal tuple of information. Intended to be used with LinkedSpan
    • Constructor Detail

      • BaseLink

        public BaseLink()
    • Method Detail

      • getItemParentID

        public String getItemParentID()
        Any parent ID for the linked item
        Returns:
      • setItemParentID

        public void setItemParentID​(String itemParentID)
        returns the parent ID of the linked item
        Parameters:
        itemParentID -
      • getItemID

        public String getItemID()
        returns the itemid
        Returns:
      • setItemID

        public void setItemID​(String itemID)
        sets the item id. This field can store, for example, the primary key of a row in an external/linked database
        Parameters:
        itemID -
      • getItemName

        public String getItemName()
        returns the name
        Returns:
      • setItemName

        public void setItemName​(String itemName)
        Sets the item name. An item name can be the native name (often a normalized version of something) from an external linked database
        Parameters:
        itemName -
      • getItemType

        public String getItemType()
        returns the type
        Returns:
      • setItemType

        public void setItemType​(String itemType)
        sets the item type. An item type can be the native type from an external linked database. For instance, a product type or code
        Parameters:
        itemType -
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object