public class AxisDefinition extends Object
Metadata by which the array structure of a compound value is defined. This defines one axis of an array.
Modifier and Type | Method and Description |
---|---|
void |
addValue(Object value)
Add the specified value to this axis definition.
|
Integer |
getCount()
Return the count of this axis definition.
|
String |
getId()
Return the ID of this axis definition.
|
String |
getName()
Return the name of this axis definition.
|
Integer |
getOrder()
Return the order of this axis definition.
|
String |
getPropertyType()
Return the property type of this axis definition.
|
String |
getUnit()
Return the unit of this axis definition.
|
List<Object> |
getValues()
Return the values of this axis definition.
|
void |
setCount(Integer count)
Set the count of this axis definition.
|
void |
setName(String name)
Set the name of this axis definition.
|
void |
setOrder(Integer order)
Set the order of this axis definition.
|
void |
setPropertyType(String propertyType)
Set the property type of this axis definition.
|
void |
setUnit(String unit)
Set the unit of this axis definition.
|
public String getId()
Corresponds to the WITSML attribute uid
:
Unique identifier for the axis.
public Integer getOrder()
Corresponds to the WITSML property order
:
The order of this axis.
public void setOrder(Integer order)
Corresponds to the WITSML property order
:
The order of this axis.
order
- The order to set. [1,>.public Integer getCount()
Corresponds to the WITSML property count
:
The count of elements along this axis of the array.
public void setCount(Integer count)
Corresponds to the WITSML property count
:
The count of elements along this axis of the array.
count
- The count to set. [1,>.public String getName()
Corresponds to the WITSML property name
:
The name of the array axis.
public void setName(String name)
Corresponds to the WITSML property name
:
The name of the array axis.
name
- The name to set.
May be null indicating absent or unnamed.public String getPropertyType()
Corresponds to the WITSML property propertyType
:
The property type by which the array axis is classified.
public void setPropertyType(String propertyType)
Corresponds to the WITSML property propertyType
:
The property type by which the array axis is classified.
propertyType
- The property type to set.
May be null indicating absent or unknown.public String getUnit()
Corresponds to the WITSML property uom
:
A string representing the units of measure of the axis values.
public void setUnit(String unit)
Corresponds to the WITSML property uom
:
A string representing the units of measure of the axis values.
unit
- The unit to set.
May be null indicating absent or unknown.public List<Object> getValues()
Corresponds to the WITSML property doubleValues
or stringValues
:
The serialziation of the axis positions of an array as a whitespace-delimited
list values of type xsd:String. Note: the serialization of string elements with
embedded whitespace cannot be properly decoded.
public void addValue(Object value)
Corresponds to the WITSML property doubleValues
or stringValues
:
The serialziation of the axis positions of an array as a whitespace-delimited
list values of type xsd:String. Note: the serialization of string elements with
embedded whitespace cannot be properly decoded.
value
- Value to add. Non-null.Copyright © 2023 Petroware AS - https://petroware.no