public class NameRange extends RangeBase
ModelComponentBase
.IllegalValue
Constructor and Description |
---|
NameRange() |
NameRange(ModelComponent comp) |
NameRange(ModelComponent comp,
CompositeComponent parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid(java.lang.Object obj,
StringHolder errMsg)
Returns true if the specified object is valid for this Range,
and false otherwise.
|
java.lang.String |
makeValid(java.lang.Object obj)
Returns the valid name (passes
isValid(Object, StringHolder) ). |
public NameRange()
public NameRange(ModelComponent comp)
public NameRange(ModelComponent comp, CompositeComponent parent)
public java.lang.String makeValid(java.lang.Object obj)
isValid(Object, StringHolder)
).public boolean isValid(java.lang.Object obj, StringHolder errMsg)
RangeBase
errMsg
is not null
, then errMsg.value
should
be set to a message describing why the object is not valid.