|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Property implementation interface. This interface has strict parameter requirements. The translation from relaxed parameter requirements are handled inside UmlPropery. Implementors can assume to get "clean" value parmeters matching the cardinality and not beeing null.
Field Summary | |
static int |
SUPPORTS_ADD
|
static int |
SUPPORTS_REMOVE
|
static int |
SUPPORTS_SET
|
Method Summary | |
boolean |
add(java.lang.Object obj,
java.lang.Object value)
Adds the given value to this property of obj. value must be a single valu, collections are not accepted! |
java.lang.Object |
get(java.lang.Object obj)
|
int |
getSupportedOperations()
Returns a binary combination of SUPPORTS_ADD, SUPPORTS_SET and SUPPORTS_REMOVE |
boolean |
remove(java.lang.Object obj,
java.lang.Object value)
Removes the given value from this property of obj. value must be a single value, collections are not accepted! |
void |
set(java.lang.Object obj,
java.lang.Object value)
Accepts single objects for properties where getMax() == 1, otherwise only collections. |
Field Detail |
public static final int SUPPORTS_SET
public static final int SUPPORTS_ADD
public static final int SUPPORTS_REMOVE
Method Detail |
public java.lang.Object get(java.lang.Object obj)
public void set(java.lang.Object obj, java.lang.Object value)
public boolean add(java.lang.Object obj, java.lang.Object value)
obj
- The property ownervalue
- The value to be added
public boolean remove(java.lang.Object obj, java.lang.Object value)
obj
- The property ownervalue
- The value to be added
public int getSupportedOperations()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |