public enum ObservationCount extends Enum<ObservationCount> implements FlowElementAttribute
Enum Constant and Description |
---|
AT_LEAST_ONCE
The operator must perform at least once for the data-set.
|
AT_MOST_ONCE
The operator must perform at most once for the data-set.
|
DONT_CARE
Don't care.
|
EXACTLY_ONCE
The operator must perform exactly once for the data-set.
|
Modifier and Type | Field and Description |
---|---|
boolean |
atLeastOnce
The operator must perform at least once.
|
boolean |
atMostOnce
The operator must perform at most once.
|
Modifier and Type | Method and Description |
---|---|
abstract ObservationCount |
and(ObservationCount other)
Returns the combined constraint.
|
String |
toString() |
static ObservationCount |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObservationCount[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
getDeclaringClass
public static final ObservationCount DONT_CARE
public static final ObservationCount AT_MOST_ONCE
public static final ObservationCount AT_LEAST_ONCE
public static final ObservationCount EXACTLY_ONCE
public final boolean atMostOnce
public final boolean atLeastOnce
public static ObservationCount[] values()
for (ObservationCount c : ObservationCount.values()) System.out.println(c);
public static ObservationCount valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract ObservationCount and(ObservationCount other)
other
- the target constraintIllegalArgumentException
- if the parameter is null
public String toString()
toString
in class Enum<ObservationCount>
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.