Class ReferenceType

java.lang.Object
com.aquima.interactions.metamodel.ReferenceType
All Implemented Interfaces:
Serializable

public class ReferenceType extends Object implements Serializable
This class is used as an enumerated type for the possible types of references.
Since:
9.7
Author:
MariusOrsan
See Also:
  • Field Details

    • DOCUMENT

      public static final ReferenceType DOCUMENT
      References of this type reference a document.
    • AGGREGATE

      public static final ReferenceType AGGREGATE
      References of this type reference an aggregate.
    • VERSION

      public static final ReferenceType VERSION
      References of this type reference a versioned element.
    • PROCESS

      public static final ReferenceType PROCESS
      References of this type reference a process.
    • TASK

      public static final ReferenceType TASK
      References of this type reference a task.
  • Method Details

    • valueOf

      public static ReferenceType valueOf(String name)
      Returns a reference type by name, as returned by the getType() method.
      Parameters:
      name - the reference type name
      Returns:
      the corresponding reference type instance
      Throws:
      IllegalArgumentException - if no reference type exists for the given name
    • getType

      public String getType()
      Returns:
      the string name of this reference type
      See Also:
    • isDocument

      public boolean isDocument()
      Returns:
      true if this is a document reference type, false otherwise
    • isAggregate

      public boolean isAggregate()
      Returns:
      true if this is an aggregate reference type, false otherwise
    • isVersion

      public boolean isVersion()
      Returns:
      true if this is a version reference type, false otherwise
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object