public class IntegerRangeValueDomain extends Object implements IRangeValueDomain<Integer>
Modifier and Type | Field and Description |
---|---|
(package private) String |
description
description of the valueDomain
|
(package private) Integer |
max
maximum.
|
(package private) Integer |
min
minimum.
|
Constructor and Description |
---|
IntegerRangeValueDomain(int min,
int max) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsValue(Integer i) |
String |
getDomainDescription() |
Integer |
getMaxValue() |
Integer |
getMinValue() |
Integer |
produceValue(String... stringArray) |
String |
toXML() |
Integer min
Integer max
String description
public IntegerRangeValueDomain(int min, int max)
min
- minvalue of the value rangemax
- maxvalue of the value rangepublic String getDomainDescription()
getDomainDescription
in interface IValueDomain<Integer>
public boolean containsValue(Integer i)
containsValue
in interface IValueDomain<Integer>
i
- the value to checktrue
,if the value t is part of this value domain.public String toXML()
toXML
in interface IValueDomain<Integer>
public Integer getMaxValue()
getMaxValue
in interface IRangeValueDomain<Integer>
Object
can be replaced by a specialized type.
(e.g. BoundingBox: public double[] getMaxValue()
)public Integer getMinValue()
getMinValue
in interface IRangeValueDomain<Integer>
Object
can be replaced by a specialized type.
(e.g. BoundingBox: public double[] getMinValue()
)public Integer produceValue(String... stringArray)
produceValue
in interface IValueDomain<Integer>
Copyright © 2012–2017 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.