ubiware.core.visualizer
Enum SemanticStatementElementTreeModel.Type

java.lang.Object
  extended by java.lang.Enum<SemanticStatementElementTreeModel.Type>
      extended by ubiware.core.visualizer.SemanticStatementElementTreeModel.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SemanticStatementElementTreeModel.Type>
Enclosing class:
SemanticStatementElementTreeModel

public static enum SemanticStatementElementTreeModel.Type
extends java.lang.Enum<SemanticStatementElementTreeModel.Type>

The enumeration which describes the possible types that this tree model can have.


Enum Constant Summary
Object
          Indicates that the tree model is a string literal representing the SemanticStatement.object of a SemanticStatement.
Predicate
          Indicates that the tree model is a string literal representing the SemanticStatement.predicate of a SemanticStatement.
Subject
          Indicates that the tree model is a string literal representing the SemanticStatement.subject of a SemanticStatement.
 
Method Summary
static SemanticStatementElementTreeModel.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SemanticStatementElementTreeModel.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Subject

public static final SemanticStatementElementTreeModel.Type Subject
Indicates that the tree model is a string literal representing the SemanticStatement.subject of a SemanticStatement.


Predicate

public static final SemanticStatementElementTreeModel.Type Predicate
Indicates that the tree model is a string literal representing the SemanticStatement.predicate of a SemanticStatement.


Object

public static final SemanticStatementElementTreeModel.Type Object
Indicates that the tree model is a string literal representing the SemanticStatement.object of a SemanticStatement.

Method Detail

values

public static SemanticStatementElementTreeModel.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SemanticStatementElementTreeModel.Type c : SemanticStatementElementTreeModel.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SemanticStatementElementTreeModel.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null