|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISimpleValueModel
Represents value's model of simple attributes as it defined in the context's schema.
ISimpleValue,
http://www.eclipse.org/higgins/ontologies/2008/6/higgins#SimpleValue| Method Summary | |
|---|---|
int |
getFractionDigits()
|
int |
getLength()
|
int |
getMaxLength()
|
int |
getMinLength()
|
List |
getOneOf()
|
String |
getPattern()
|
int |
getTotalDigits()
|
boolean |
isOneOf()
|
boolean |
isUnique()
|
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.IValueModel |
|---|
isSimple |
| Methods inherited from interface org.eclipse.higgins.idas.api.model.IModel |
|---|
getShortFormType, getType |
| Method Detail |
|---|
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
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
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
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.
IdASExceptionboolean isUnique()
boolean isOneOf()
List getOneOf()
String getPattern()
int getLength()
int getMinLength()
int getMaxLength()
int getTotalDigits()
int getFractionDigits()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||