Package org.cip4.lib.xjdf.type
Class IntegerList
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<ValueType,BoundType>
An IntegerList is an enumerated set of Integers, which is expressed as a list of space separated values.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.IntegerList(Integer... values) Custom constructor.IntegerList(String value) Custom constructor.IntegerList(List<Integer> list) Custom constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected IntegerconvertFromString(String value) Converts the data type from a String value.toString()Methods inherited from class org.cip4.lib.xjdf.type.AbstractList
get, getList, marshal, setList, unmarshalMethods inherited from class org.cip4.lib.xjdf.type.AbstractXJdfType
equals, hashCode
-
Constructor Details
-
IntegerList
public IntegerList()Default constructor. -
IntegerList
Custom constructor. Accepting a variable number of integers. -
IntegerList
Custom constructor. Accepting a list object for initializing. -
IntegerList
Custom constructor. Accepting a String object for initializing.
-
-
Method Details
-
convertFromString
Description copied from class:AbstractListConverts the data type from a String value.- Specified by:
convertFromStringin classAbstractList<Integer>- Parameters:
value- String expression.- Returns:
- String as target data type.
- See Also:
-
toString
- Specified by:
toStringin classAbstractXJdfType<String,AbstractList<Integer>> - See Also:
-