|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReferenceField
Indicates this Field
object may be an Ant reference and provides methods for handling
references.
Method Summary | |
---|---|
Object |
getReferencedField()
Returns the Object that this ReferenceField holds a reference to. |
boolean |
isReference()
Returns true if this Field is a reference, false otherwise. |
Methods inherited from interface com.threerings.antidote.field.Field |
---|
getFieldName, getLocation |
Methods inherited from interface com.threerings.antidote.RequiresValidation |
---|
validate |
Method Detail |
---|
boolean isReference()
Field
is a reference, false otherwise.
Object getReferencedField()
Object
that this ReferenceField
holds a reference to. This is
not type safe. Use FieldWrapper.getField()
which is type safe.
Should not be called before isReference()
is checked. If the Reference
has
not been set, a UnsetReferenceException
will be thrown.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |