org.qi4j.api.association
Interface AssociationDescriptor

All Superinterfaces:
MetaInfoHolder

public interface AssociationDescriptor
extends MetaInfoHolder

Association Descriptor.


Method Summary
 java.lang.reflect.AccessibleObject accessor()
           
 boolean isAggregated()
           
 boolean isImmutable()
           
 QualifiedName qualifiedName()
          Get the qualified name of the association.
 boolean queryable()
           
 java.lang.reflect.Type type()
          Get the type of the associated Entities
 
Methods inherited from interface org.qi4j.api.structure.MetaInfoHolder
metaInfo
 

Method Detail

qualifiedName

QualifiedName qualifiedName()
Get the qualified name of the association. This is constructed by concatenating the name of the declaring interface with the name of the method, using ":" as separator. Example:
com.somecompany.MyInterface with association method
Association someAssociation();
will have the qualified name:
com.somecompany.MyInterface:someAssociation

Returns:
the qualified name of the association

type

java.lang.reflect.Type type()
Get the type of the associated Entities

Returns:
the type of the associated Entities

isImmutable

boolean isImmutable()

isAggregated

boolean isAggregated()

accessor

java.lang.reflect.AccessibleObject accessor()

queryable

boolean queryable()