public ContextEntry[] createContext() {
// Now create the ContextEntries in the same order the constraints
ContextEntry[] contexts = new ContextEntry[this.constraints.size()];
int i = 0;
for ( LinkedListEntry entry = (LinkedListEntry) this.constraints.getFirst(); entry != null; entry = (LinkedListEntry) entry.getNext() ) {
final BetaNodeFieldConstraint constraint = (BetaNodeFieldConstraint) entry.getObject();
contexts[i++] = constraint.createContextEntry();
}
return contexts;
}