public interface PolygeneSPI extends PolygeneAPI
FUNCTION_COMPOSITE_INSTANCE_OF, FUNCTION_DESCRIPTOR_FOR
Modifier and Type | Method and Description |
---|---|
EntityReference |
entityReferenceOf(Association<?> assoc)
Fetches the EntityReference without loading the referenced entity.
|
Stream<EntityReference> |
entityReferencesOf(ManyAssociation<?> assoc)
Fetches the EntityReferences without loading the referenced entities.
|
Stream<Map.Entry<String,EntityReference>> |
entityReferencesOf(NamedAssociation<?> assoc)
Fetches the EntityReferences without loading the referenced entities.
|
EntityState |
entityStateOf(EntityComposite composite) |
AssociationStateHolder |
stateOf(EntityComposite composite) |
StateHolder |
stateOf(TransientComposite composite) |
AssociationStateHolder |
stateOf(ValueComposite composite) |
associationDescriptorFor, compositeDescriptorFor, dereference, entityDescriptorFor, isComposite, modelDescriptorFor, moduleOf, propertyDescriptorFor, serviceDescriptorFor, transientDescriptorFor, valueDescriptorFor
StateHolder stateOf(TransientComposite composite)
AssociationStateHolder stateOf(EntityComposite composite)
AssociationStateHolder stateOf(ValueComposite composite)
EntityState entityStateOf(EntityComposite composite)
EntityReference entityReferenceOf(Association<?> assoc)
assoc
- The Association for which we want to obtain the EntityReferenceStream<EntityReference> entityReferencesOf(ManyAssociation<?> assoc)
assoc
- The ManyAssociation for which we want to obtain the EntityReferences.Stream<Map.Entry<String,EntityReference>> entityReferencesOf(NamedAssociation<?> assoc)
assoc
- The NamedAssociation for which we want to obtain the EntityReference