|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Represents value's model of simple attributes as it defined in the context's schema.
ISimpleAttrValue,
http://www.eclipse.org/higgins/ontologies/2008/6/higgins#SimpleValue| Method Summary | |
|---|---|
boolean |
isValid(String lexicalForm)
Determines whether given String is valid lexical form of
represented value. |
boolean |
isValidValue(Object valueForm)
Determines whether given Object is valid value form of
represented value. |
String |
toLexicalForm(Object value)
Convert given Object to lexical form of represented value. |
Object |
toValueForm(String lexicalForm)
Convert given String to value form of represented value. |
| Methods inherited from interface org.eclipse.higgins.idas.api.model.IAttributeValueModel |
|---|
getMaxCardinality, getMinCardinality, isSimple |
| Methods inherited from interface org.eclipse.higgins.idas.api.model.IModel |
|---|
getDisplayData, getType |
| Method Detail |
public boolean isValidValue(Object valueForm)
throws IdASException
Object is valid value form of
represented value.
valueForm - value to be checked.
true if valueForm is valid value
form and false otherwise.
IdASException
public boolean isValid(String lexicalForm)
throws IdASException
String is valid lexical form of
represented value.
lexicalForm - value to be checked.
true if lexicalForm is valid
lexical form and false otherwise.
IdASException
public Object toValueForm(String lexicalForm)
throws IdASException
String to value form of represented value.
lexicalForm - String value to be converted.
Object which represents valid value form of
represented value.
IdASModelException - if given String can't be converted.
IdASException
public String toLexicalForm(Object value)
throws IdASException
Object to lexical form of represented value.
value - Object value to be converted.
String which represents valid lexical form of
represented value.
IdASModelException - if given Object can't be converted.
IdASException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||