public interface Assignments extends java.lang.Iterable<Assignment>
Modifier and Type | Method and Description |
---|---|
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.
|
int |
size()
Get the number of assignments.
|
Assignment getSoleAssignment() throws ModelException
ModelException
- - If there are zero or multiple assignments throw an MdexModelExcpetionAssignment getArbitraryAssignment()
int size()
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.