Interface VirAttrHandler
- All Known Implementing Classes:
DefaultVirAttrHandler
public interface VirAttrHandler
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionQuery external resources (or cache, if configured) associated to the given any for values associated to allVirSchema
instances in theAnyTypeClass
associated to the given any, with no membership.getValues
(Any<?> any, Membership<?> membership) Query external resources (or cache, if configured) associated to the given any for values associated to allVirSchema
instances in theAnyTypeClass
associated to the given any, for the given membership.getValues
(Any<?> any, Membership<?> membership, VirSchema schema) Query external resource (or cache, if configured) associated to the given any for values associated to the given virtual schema, for the given membership.Query external resource (or cache, if configured) associated to the given any for values associated to the given virtual schema, not related to any membership.void
setValues
(Any<?> any, ConnectorObject connObj) Updates cache with values from external resource.
-
Field Details
-
CACHE
- See Also:
-
-
Method Details
-
setValues
Updates cache with values from external resource.- Parameters:
any
- any objectconnObj
- connector object from external resource
-
getValues
Query external resource (or cache, if configured) associated to the given any for values associated to the given virtual schema, not related to any membership.- Parameters:
any
- any objectschema
- virtual schema- Returns:
- virtual attribute values, either for local cache or external resource, if resource is owned by the given any and associated to the given virtual schema; empty list otherwise.
-
getValues
Query external resource (or cache, if configured) associated to the given any for values associated to the given virtual schema, for the given membership.- Parameters:
any
- any objectmembership
- membershipschema
- virtual schema- Returns:
- virtual attribute values, either for local cache or external resource, if resource is owned by the given any and associated to the given virtual schema; empty list otherwise.
-
getValues
Query external resources (or cache, if configured) associated to the given any for values associated to allVirSchema
instances in theAnyTypeClass
associated to the given any, with no membership.- Parameters:
any
- any object- Returns:
- virtual attribute values, either for local cache or external resources
-
getValues
Query external resources (or cache, if configured) associated to the given any for values associated to allVirSchema
instances in theAnyTypeClass
associated to the given any, for the given membership.- Parameters:
any
- any objectmembership
- membership- Returns:
- virtual attribute values, either for local cache or external resources
-