Package wt.eff
Class LeftFilledStringEffRange
java.lang.Object
wt.eff._LeftFilledStringEffRange
wt.eff.LeftFilledStringEffRange
- All Implemented Interfaces:
Externalizable,Serializable,_EffRange,EffRange,wt.fc._NetFactor,wt.fc._ObjectMappable,NetFactor,ObjectMappable
@GenAsObjectMappable(interfaces=EffRange.class,versions=-5033145462128187240L,properties={@GeneratedProperty(name="start",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="The start value, constrained as a String that left-fills the value with spaces to ensure proper query (9 < 10). Setter will fill the String, getter wil return the filled String.",constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(persistent=true)),@GeneratedProperty(name="end",type=java.lang.String.class,supportedAPI=PUBLIC,javaDoc="The end value, constrained as a String that left-fills the value with spaces to ensure proper query (9 < 10). Setter will fill the String, getter wil return the filled String.",columnProperties=@ColumnProperties(persistent=true))})
public class LeftFilledStringEffRange
extends _LeftFilledStringEffRange
A range that left-fills the start/end values with spaces to ensure that
9 < 10, for example, in a query. In effect the 9 is padded to become
09 and 09 < 10.
Use the newLeftFilledStringEffRange static factory method(s),
not the LeftFilledStringEffRange constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.eff._LeftFilledStringEffRange
END, EXTERNALIZATION_VERSION_UID, START -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitialize(String startValue) Supports initialization, following construction of an instance.protected voidinitialize(String startValue, String endValue) Supports initialization, following construction of an instance.static LeftFilledStringEffRangenewLeftFilledStringEffRange(String startValue) Factory which sets the start value.static LeftFilledStringEffRangenewLeftFilledStringEffRange(String startValue, String endValue) Factory which sets the start and end value
Supported API: truestatic StringremoveLeftFill(String value) Removes the spaces getStart/getEnd would normally return.voidsetEnd(Serializable a_End) Sets the value of the attribute: END.voidsetStart(Serializable a_Start) Sets the value of the attribute: START.Methods inherited from class wt.eff._LeftFilledStringEffRange
getClassInfo, getConceptualClassname, getEnd, getStart, readExternal, readExternal, readVersion, toString, writeExternal, writeExternal
-
Method Details
-
setStart
Sets the value of the attribute: START. The start value, constrained as a String that left-fills the value with spaces to ensure proper query (9 < 10). Setter will fill the String, getter wil return the filled String.
Supported API: true- Specified by:
setStartin interface_EffRange- Specified by:
setStartin interfaceEffRange- Overrides:
setStartin class_LeftFilledStringEffRange- Parameters:
a_Start-- Throws:
WTPropertyVetoException- See Also:
-
setEnd
Sets the value of the attribute: END. The end value, constrained as a String that left-fills the value with spaces to ensure proper query (9 < 10). Setter will fill the String, getter wil return the filled String.
Supported API: true- Specified by:
setEndin interface_EffRange- Specified by:
setEndin interfaceEffRange- Overrides:
setEndin class_LeftFilledStringEffRange- Parameters:
a_End-- Throws:
WTPropertyVetoException- See Also:
-
newLeftFilledStringEffRange
public static LeftFilledStringEffRange newLeftFilledStringEffRange(String startValue, String endValue) throws WTPropertyVetoException Factory which sets the start and end value
Supported API: true- Parameters:
startValue-endValue-- Returns:
- LeftFilledStringEffRange
- Throws:
WTPropertyVetoException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
startValue-endValue-- Throws:
WTPropertyVetoException
-
newLeftFilledStringEffRange
public static LeftFilledStringEffRange newLeftFilledStringEffRange(String startValue) throws WTPropertyVetoException Factory which sets the start value. The end is left null.
Supported API: true- Parameters:
startValue-- Returns:
- LeftFilledStringEffRange
- Throws:
WTPropertyVetoException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
startValue-- Throws:
WTPropertyVetoException
-
removeLeftFill
Removes the spaces getStart/getEnd would normally return.
Supported API: true- Parameters:
value-- Returns:
- String
-