|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
The ISimpleClaimType interface defines a set of methods to
describe simple types of an IClaim objects.
| Method Summary | |
|---|---|
Object |
fromString(String stringValue)
Converts given lexicalForm to value form of claim of this
type. |
Class |
getDataType()
Returns a Class object which represents a type of values
of claim objects of this type. |
int |
getMaxCardinality()
Returns maximum count of values allowed for claim objects of this type. |
IUIDescriptor |
getUIDescriptor()
Gets an UI descriptor which provides an information how to display claim value of this type. |
String |
toString(Object value)
Converts given value to string form of claim object of this type. |
| Methods inherited from interface org.eclipse.higgins.icard.IClaimType |
|---|
getDescription, getDisplayName, getType, getTypeLocalName, isEditable, isSimple, isVisible |
| Method Detail |
public int getMaxCardinality()
public Class getDataType()
Class object which represents a type of values
of claim objects of this type.
public Object fromString(String stringValue)
throws InvalidValueException
lexicalForm to value form of claim of this
type.
stringValue - String value to be converted.
Object which represents valid value form of
claim object of this type.
InvalidValueException - if given String can't be converted.
public String toString(Object value)
throws InvalidValueException
value to string form of claim object of this type.
value - Object value to be converted.
String which represents valid lexical form of
claim of this type.
InvalidValueException - if given Object can't be converted.public IUIDescriptor getUIDescriptor()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||