public class AssociationWrapper extends Object implements Association<Object>
Modifier and Type | Field and Description |
---|---|
protected Association<Object> |
next |
Constructor and Description |
---|
AssociationWrapper(Association<Object> next) |
protected Association<Object> next
public AssociationWrapper(Association<Object> next)
public Association<Object> next()
public Object get()
Association
get
in interface Association<Object>
public void set(Object associated) throws IllegalArgumentException
Association
set
in interface Association<Object>
associated
- the entityIllegalArgumentException
- thrown if the entity is not a valid reference for this associationpublic EntityReference reference()
reference
in interface Association<Object>