de.jaret.util.ui.timebars.model
Enum IIntervalRelation.Type

java.lang.Object
  extended by java.lang.Enum<IIntervalRelation.Type>
      extended by de.jaret.util.ui.timebars.model.IIntervalRelation.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IIntervalRelation.Type>
Enclosing interface:
IIntervalRelation

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

Relation type denoting if the relation should refer to the end or begin of the interval.


Enum Constant Summary
BEGIN_BEGIN
          Begin of first interval to begin of second interval.
BEGIN_END
          Begin of first interval to end of second interval.
END_BEGIN
          End of first interval to begin of second interval.
END_END
          End of first interval to end of second interval.
 
Method Summary
static IIntervalRelation.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IIntervalRelation.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

BEGIN_END

public static final IIntervalRelation.Type BEGIN_END
Begin of first interval to end of second interval.


BEGIN_BEGIN

public static final IIntervalRelation.Type BEGIN_BEGIN
Begin of first interval to begin of second interval.


END_BEGIN

public static final IIntervalRelation.Type END_BEGIN
End of first interval to begin of second interval.


END_END

public static final IIntervalRelation.Type END_END
End of first interval to end of second interval.

Method Detail

values

public static IIntervalRelation.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 (IIntervalRelation.Type c : IIntervalRelation.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 IIntervalRelation.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


Copyright © 2012. All Rights Reserved.