Class ExternalElement

java.lang.Object
com.axemble.vdoc.sdk.structs.ExternalElement
All Implemented Interfaces:
Serializable

public class ExternalElement extends Object implements Serializable
This structure will store an external object key and label
Author:
omenuel
See Also:
  • Field Details

  • Constructor Details

    • ExternalElement

      public ExternalElement(String key, String label, String type)
      Create an external element
      Parameters:
      key - : external key
      label - : label of external object (will be used in views)
      type - : type of the object (never used by vdoc)
  • Method Details

    • getKey

      public String getKey()
      Returns:
      the key of the external object
    • getLabel

      public String getLabel()
      Returns:
      the label of the external object
    • getType

      public String getType()
      Returns:
      the type of the external element
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object