Package wt.eff
Class StringEffRange
java.lang.Object
wt.eff._StringEffRange
wt.eff.StringEffRange
- 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.",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.",columnProperties=@ColumnProperties(persistent=true))})
public class StringEffRange
extends _StringEffRange
A range using Strings which are not left filled. This is the range used
by UnitEffectivity, and does not left-fill: 9 > 10. To ensure proper
behavior, all values should have the same number of characters.
Use the newStringEffRange static factory method(s), not
the StringEffRange 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._StringEffRange
END, 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 StringEffRangenewStringEffRange(String startValue) Factory which sets the start value.static StringEffRangenewStringEffRange(String startValue, String endValue) Factory which sets the start and end value
Supported API: trueMethods inherited from class wt.eff._StringEffRange
getEnd, getStart, setEnd, setStart
-
Method Details
-
newStringEffRange
public static StringEffRange newStringEffRange(String startValue, String endValue) throws WTPropertyVetoException Factory which sets the start and end value
Supported API: true- Parameters:
startValue-endValue-- Returns:
- StringEffRange
- 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
-
newStringEffRange
Factory which sets the start value. The end is left null.
Supported API: true- Parameters:
startValue-- Returns:
- StringEffRange
- 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
-