|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Qi4j
Encapsulation of the Qi4j API.
Field Summary | |
---|---|
static Function<Composite,CompositeInstance> |
FUNCTION_COMPOSITE_INSTANCE_OF
Function that returns the CompositeInstance of a Composite. |
static Function<Composite,CompositeDescriptor> |
FUNCTION_DESCRIPTOR_FOR
Function that returns the CompositeDescriptor of a Composite. |
Method Summary | ||
---|---|---|
AssociationDescriptor |
associationDescriptorFor(AbstractAssociation association)
Returns the AssociationDescriptor of the Association. |
|
CompositeDescriptor |
compositeDescriptorFor(java.lang.Object compositeOrServiceReference)
Returns the CompositeDescriptor of the Composite. |
|
|
dereference(T composite)
If a Modifier gets a reference to the Composite using @This, then that reference must be dereferenced using this method before handing it out for others to use. |
|
EntityDescriptor |
entityDescriptorFor(java.lang.Object entity)
Returns the EntityDescriptor of the EntityComposite. |
|
ModelDescriptor |
modelDescriptorFor(java.lang.Object compositeOrServiceReference)
Returns the ModelDescriptor of the Composite. |
|
Module |
moduleOf(java.lang.Object compositeOrUow)
Returns the Module or UnitOfWork where the Composite belongs. |
|
PropertyDescriptor |
propertyDescriptorFor(Property property)
Returns the PropertyDescriptor of the Property. |
|
ServiceDescriptor |
serviceDescriptorFor(java.lang.Object service)
Returns the ServiceDescriptor of the ServiceComposite. |
|
TransientDescriptor |
transientDescriptorFor(java.lang.Object transsient)
Returns the TransientDescriptor of the TransientComposite. |
|
ValueDescriptor |
valueDescriptorFor(java.lang.Object value)
Returns the ValueDescriptor of the ValueComposite. |
Field Detail |
---|
static final Function<Composite,CompositeDescriptor> FUNCTION_DESCRIPTOR_FOR
static final Function<Composite,CompositeInstance> FUNCTION_COMPOSITE_INSTANCE_OF
Method Detail |
---|
<T> T dereference(T composite)
composite
- instance reference injected in Modified using @This
Module moduleOf(java.lang.Object compositeOrUow)
compositeOrUow
- The Composite (Service, Value, Entity or Transient) or UnitOfWork to lookup the Module it
belongs to.
ModelDescriptor modelDescriptorFor(java.lang.Object compositeOrServiceReference)
compositeOrServiceReference
- The Composite (Service, Value, Entity or Transient) for which to lookup the
ModelDescriptor
CompositeDescriptor compositeDescriptorFor(java.lang.Object compositeOrServiceReference)
compositeOrServiceReference
- The Composite (Service, Value, Entity or Transient) for which to lookup the
CompositeDescriptor
TransientDescriptor transientDescriptorFor(java.lang.Object transsient)
transsient
- The TransientComposite for which to lookup the TransientDescriptor
EntityDescriptor entityDescriptorFor(java.lang.Object entity)
entity
- The EntityComposite for which to lookup the EntityDescriptor
ValueDescriptor valueDescriptorFor(java.lang.Object value)
value
- The ValueComposite for which to lookup the ValueDescriptor
ServiceDescriptor serviceDescriptorFor(java.lang.Object service)
service
- The ServiceComposite for which to lookup the ServiceDescriptor
PropertyDescriptor propertyDescriptorFor(Property property)
property
- The Property for which to lookup the PropertyDescriptor
AssociationDescriptor associationDescriptorFor(AbstractAssociation association)
association
- The Association for which to lookup the AssociationDescriptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |