public class LongEnum extends EnumDomain<Long>
Constructor and Description |
---|
LongEnum(Collection<Long> enums)
Creates a new LongEnum instance.
|
LongEnum(Iterable<String> enums)
Creates a new LongEnum instance.
|
Modifier and Type | Method and Description |
---|---|
protected DataValue<Long> |
dataValueOf(Long value)
Returns a
DataValue for the given value in this domain. |
String |
getFormat()
Returns the format for values that belong to this domain.
|
void |
setFormat(String format)
Changes the format for values that belong to this domain.
|
protected Long |
valueOf(String value)
Returns the value represented by the given string.
|
contains, getEnums, getTypes, toString, values
withFormat
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
arrayOf, arrayOf, arrayOf, contains, containsObject, getType, select, selectValue
public LongEnum(Collection<Long> enums)
protected Long valueOf(String value)
valueOf
in class EnumDomain<Long>
public void setFormat(String format)
setFormat
in class AbstractValueDomain<Long>
public String getFormat()
getFormat
in interface ValueDomain<Long>
getFormat
in class AbstractValueDomain<Long>
protected DataValue<Long> dataValueOf(Long value)
DataValue
for the given value in this domain.dataValueOf
in class AbstractValueDomain<Long>
Copyright © 2024 The Cornutum Project. All rights reserved.