public class TLcdSLDSubstring extends TLcdSLDFunction
Constructor and Description |
---|
TLcdSLDSubstring()
Default Constructor
|
TLcdSLDSubstring(TLcdDataType aType)
Default Constructor
|
TLcdSLDSubstring(TLcdSLDParameterValue aStringValue,
TLcdSLDParameterValue aPosition,
TLcdSLDParameterValue aLength)
Creates a new instance and initializes the properties with the given values.
|
Modifier and Type | Method and Description |
---|---|
TLcdSLDParameterValue |
getLength()
Returns the value of the property that maps to the
Length element. |
TLcdSLDParameterValue |
getPosition()
Returns the value of the property that maps to the
Position element. |
TLcdSLDParameterValue |
getStringValue()
Returns the value of the property that maps to the
StringValue element. |
void |
setLength(TLcdSLDParameterValue aValue)
Sets the value of the property that maps to the
Length element. |
void |
setPosition(TLcdSLDParameterValue aValue)
Sets the value of the property that maps to the
Position element. |
void |
setStringValue(TLcdSLDParameterValue aValue)
Sets the value of the property that maps to the
StringValue element. |
getFallbackValue, setFallbackValue
public TLcdSLDSubstring()
public TLcdSLDSubstring(TLcdDataType aType)
public TLcdSLDSubstring(TLcdSLDParameterValue aStringValue, TLcdSLDParameterValue aPosition, TLcdSLDParameterValue aLength)
public TLcdSLDParameterValue getStringValue()
StringValue
element.
A parameter that evaluates to a String. The 'toString' method of the returned Object is used to convert any object into a String.
STRING_VALUE_PROPERTY
property.public void setStringValue(TLcdSLDParameterValue aValue)
StringValue
element.
A parameter that evaluates to a String. The 'toString' method of the returned Object is used to convert any object into a String.
aValue
- the value to set for the STRING_VALUE_PROPERTY
property.public TLcdSLDParameterValue getPosition()
Position
element.
The start of the substring, counting from 1.
POSITION_PROPERTY
property.public void setPosition(TLcdSLDParameterValue aValue)
Position
element.
The start of the substring, counting from 1.
aValue
- the value to set for the POSITION_PROPERTY
property.public TLcdSLDParameterValue getLength()
Length
element.
The remaining length, starting at Position.
LENGTH_PROPERTY
property.public void setLength(TLcdSLDParameterValue aValue)
Length
element.
The remaining length, starting at Position.
aValue
- the value to set for the LENGTH_PROPERTY
property.