public class IntegerConstant extends ConstantDomain<Integer>
Constructor and Description |
---|
IntegerConstant(Integer value)
Creates a new IntegerConstant instance.
|
Modifier and Type | Method and Description |
---|---|
protected DataValue<Integer> |
dataValueOf(Integer 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.
|
contains, getTypes, getValue, toString, values
withFormat
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
arrayOf, arrayOf, arrayOf, contains, containsObject, getType, select, selectValue
public IntegerConstant(Integer value)
public void setFormat(String format)
setFormat
in class AbstractValueDomain<Integer>
public String getFormat()
getFormat
in interface ValueDomain<Integer>
getFormat
in class AbstractValueDomain<Integer>
protected DataValue<Integer> dataValueOf(Integer value)
DataValue
for the given value in this domain.dataValueOf
in class AbstractValueDomain<Integer>
Copyright © 2024 The Cornutum Project. All rights reserved.