|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.eff.StringEffRange
public class 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
UnitEffectivity,
Serialized Form| Field Summary | |
|---|---|
static String |
END
Label for the attribute; The end value, constrained as a String. |
static String |
START
Label for the attribute; The start value, constrained as a String. |
| Method Summary | |
|---|---|
Serializable |
getEnd()
Gets the value of the attribute: END. |
Serializable |
getStart()
Gets the value of the attribute: START. |
protected void |
initialize(String startValue)
Supports initialization, following construction of an instance. |
protected void |
initialize(String startValue,
String endValue)
Supports initialization, following construction of an instance. |
static StringEffRange |
newStringEffRange(String startValue)
Factory which sets the start value. |
static StringEffRange |
newStringEffRange(String startValue,
String endValue)
Factory which sets the start and end value Supported API: true |
void |
setEnd(Serializable a_End)
Sets the value of the attribute: END. |
void |
setStart(Serializable a_Start)
Sets the value of the attribute: START. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String START
public static final String END
| Method Detail |
|---|
public Serializable getStart()
getStart in interface EffRange
public void setStart(Serializable a_Start)
throws WTPropertyVetoException
setStart in interface EffRangea_Start -
WTPropertyVetoExceptionpublic Serializable getEnd()
getEnd in interface EffRange
public void setEnd(Serializable a_End)
throws WTPropertyVetoException
setEnd in interface EffRangea_End -
WTPropertyVetoException
public static StringEffRange newStringEffRange(String startValue,
String endValue)
throws WTPropertyVetoException
startValue - endValue -
WTPropertyVetoException
protected void initialize(String startValue,
String endValue)
throws WTPropertyVetoException
startValue - endValue -
WTPropertyVetoException
public static StringEffRange newStringEffRange(String startValue)
throws WTPropertyVetoException
startValue -
WTPropertyVetoException
protected void initialize(String startValue)
throws WTPropertyVetoException
startValue -
WTPropertyVetoException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||