org.nakedobjects.metamodel.specloader.internal.peer
Interface NakedObjectAssociationPeer

All Superinterfaces:
FacetHolder, Identified, NakedObjectMemberPeer
All Known Implementing Classes:
JavaNakedObjectAssociationPeer, JavaOneToManyAssociationPeer, JavaOneToOneAssociationPeer, NakedObjectAssociationPeerDecorator

public interface NakedObjectAssociationPeer
extends NakedObjectMemberPeer

Additional reflective details about field members.

See Also:
NakedObjectMemberPeer

Method Summary
 NakedObjectSpecification getSpecification()
          The specification of the associated object if isOneToOne() is true, or, the type of the associated object (rather than a Vector.class, say), if isOneToMany() is true.
 boolean isOneToMany()
          If this is a collection.
 boolean isOneToOne()
          If this is a scalar association, representing (in old terminology) a reference to another entity or a value.
 
Methods inherited from interface org.nakedobjects.metamodel.specloader.internal.peer.NakedObjectMemberPeer
debugData
 
Methods inherited from interface org.nakedobjects.metamodel.spec.identifier.Identified
getIdentifier
 
Methods inherited from interface org.nakedobjects.metamodel.facets.FacetHolder
addFacet, addFacet, containsFacet, getFacet, getFacets, getFacetTypes, removeFacet, removeFacet
 

Method Detail

getSpecification

NakedObjectSpecification getSpecification()
The specification of the associated object if isOneToOne() is true, or, the type of the associated object (rather than a Vector.class, say), if isOneToMany() is true.


isOneToOne

boolean isOneToOne()
If this is a scalar association, representing (in old terminology) a reference to another entity or a value.

Opposite of isOneToMany().


isOneToMany

boolean isOneToMany()
If this is a collection.

Opposite of isOneToOne().



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.