|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Assignments
Interface representing zero, one or more assignments to a record. Most normal clients will want to use the Iterable interface to loop over the 0 to N assignments. Some clients want to programmatically interact with a single assignment. Use the getSingleAssignment method which will throw an exception if property has zero or many assignments.
Method Summary | |
---|---|
Assignment |
getArbitraryAssignment()
Get a single assignment from a list 1 to n assignments. |
Assignment |
getSoleAssignment()
Get the one and only assignment for this potential list of assignments. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
Assignment getSoleAssignment() throws ModelException
ModelException
- - If there are zero or multiple assignments throw an MdexModelExcpetionAssignment getArbitraryAssignment()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |