public enum BinaryOutputEventVariation extends Enum<BinaryOutputEventVariation> implements ObjectVariation
EnumCode.MapFactory
Enum Constant and Description |
---|
ANY |
WITH_TIME |
WITHOUT_TIME |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Gets the code.
|
Optional<DataType> |
getDataType()
Gets the data type.
|
Class<? extends ObjectInstance> |
getObjectClass()
Gets the object class.
|
ObjectGroup |
getObjectGroup()
Gets the object group.
|
String |
getTitle()
Gets the variation title.
|
static BinaryOutputEventVariation |
instance(int variationCode)
Returns the instance for a variation code.
|
static BinaryOutputEventVariation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryOutputEventVariation[] |
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, toString, valueOf
getPointType, isAny, isPacked, newObjectInstance
public static final BinaryOutputEventVariation ANY
public static final BinaryOutputEventVariation WITHOUT_TIME
public static final BinaryOutputEventVariation WITH_TIME
public static BinaryOutputEventVariation[] values()
for (BinaryOutputEventVariation c : BinaryOutputEventVariation.values()) System.out.println(c);
public static BinaryOutputEventVariation 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 null@Nonnull @CheckReturnValue public static BinaryOutputEventVariation instance(int variationCode)
variationCode
- The variation code.public int getCode()
public Optional<DataType> getDataType()
getDataType
in interface ObjectVariation
public Class<? extends ObjectInstance> getObjectClass()
getObjectClass
in interface ObjectVariation
public ObjectGroup getObjectGroup()
getObjectGroup
in interface ObjectVariation
public String getTitle()
getTitle
in interface ObjectVariation
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.