Class ItemLink


  • public class ItemLink
    extends java.lang.Object
    Represents a link from one ImportItem to another.
    • Constructor Summary

      Constructors 
      Constructor Description
      ItemLink​(java.lang.String id)
      Constructor for a new itenm link.
      ItemLink​(java.lang.String id, boolean ignored)
      Constructor for a new item link.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()
      Get the ID of the linked item.
      boolean isIgnored()
      Get the state of the link.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ItemLink

        public ItemLink​(java.lang.String id)
        Constructor for a new itenm link.
        Parameters:
        id - ID of the linked item
      • ItemLink

        public ItemLink​(java.lang.String id,
                        boolean ignored)
        Constructor for a new item link.
        Parameters:
        id - ID of the linked item
        ignored - True to register link as present but ignored or deactivated, and false as a normal link.
    • Method Detail

      • getId

        public java.lang.String getId()
        Get the ID of the linked item.
        Returns:
        ID of linked item.
      • isIgnored

        public boolean isIgnored()
        Get the state of the link.
        Returns:
        True if link is ignored/deactivated, and false if it is a normal link.