Class ReferenceType
java.lang.Object
com.aquima.interactions.metamodel.ReferenceType
- All Implemented Interfaces:
Serializable
This class is used as an enumerated type for the possible types of references.
- Since:
- 9.7
- Author:
- MariusOrsan
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReferenceType
References of this type reference an aggregate.static final ReferenceType
References of this type reference a document.static final ReferenceType
References of this type reference a process.static final ReferenceType
References of this type reference a task.static final ReferenceType
References of this type reference a versioned element. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getType()
int
hashCode()
boolean
boolean
boolean
toString()
static ReferenceType
Returns a reference type by name, as returned by thegetType()
method.
-
Field Details
-
DOCUMENT
References of this type reference a document. -
AGGREGATE
References of this type reference an aggregate. -
VERSION
References of this type reference a versioned element. -
PROCESS
References of this type reference a process. -
TASK
References of this type reference a task.
-
-
Method Details
-
valueOf
Returns a reference type by name, as returned by thegetType()
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
- 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
-
hashCode
public int hashCode() -
toString
-