| Access | Constructor and Description |
|---|---|
| protected | |
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAttribute(String
A simple attribute, array or attributes forming a path attributeNameOrPath, CoreAttributeGroup<ATTRIBUTE_ITEM extends CoreAttributeItem, DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>> - an AttributeGroup to be added. group)Overrides org. |
| public boolean | |
| public boolean | isSupersetOf(CoreAttributeGroup<ATTRIBUTE_ITEM extends CoreAttributeItem, DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>> anotherGroup)
Overrides org. |
| public String | onUnfetchedAttribute(FetchGroupTracker entity, String attributeName)
Overrides org. |
| public String | onUnfetchedAttributeForSet(FetchGroupTracker entity, String attributeName)
Overrides org. |
| public void | removeAttribute(String attributeNameOrPath)
Overrides org. |
| public void | setOnEntity(Object entity, AbstractSession session)
Set this EntityFetchGroup on an entity implementing
|
| EntityFetchGroup | back to summary |
|---|---|
| protected EntityFetchGroup() | |
| EntityFetchGroup | back to summary |
|---|---|
| public EntityFetchGroup(FetchGroup fetchGroup) | |
| EntityFetchGroup | back to summary |
|---|---|
| public EntityFetchGroup(String attributeName) | |
| EntityFetchGroup | back to summary |
|---|---|
| public EntityFetchGroup(Collection<String> attributeNames) | |
| EntityFetchGroup | back to summary |
|---|---|
| public EntityFetchGroup(String[] attributeNames) | |
| EntityFetchGroup | back to summary |
|---|---|
| public EntityFetchGroup(FetchGroup fetchGroup, String attributeName) | |
| addAttribute | back to summary |
|---|---|
| public void addAttribute(String attributeNameOrPath, CoreAttributeGroup<ATTRIBUTE_ITEM extends CoreAttributeItem, DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>> group) Overrides org. Doc from org. Add a basic attribute or nested attribute with each String representing an attribute on the path to what needs to be included in the AttributeGroup.
Example:
| |
| isEntityFetchGroup | back to summary |
|---|---|
| public boolean isEntityFetchGroup() Overrides org.
| |
| isSupersetOf | back to summary |
|---|---|
| public boolean isSupersetOf(CoreAttributeGroup<ATTRIBUTE_ITEM extends CoreAttributeItem, DESCRIPTOR extends CoreDescriptor<ATTRIBUTE_GROUP extends CoreAttributeGroup, DESCRIPTOR_EVENT_MANAGER extends CoreDescriptorEventManager, FIELD extends CoreField, INHERITANCE_POLICY extends CoreInheritancePolicy, INSTANTIATION_POLICY extends CoreInstantiationPolicy, LIST extends List<E>, OBJECT_BUILDER extends CoreObjectBuilder>> anotherGroup) Overrides org. Return true if this EntityFetchGroup is a super-set of the passed in EntityFetchGroup.
| |
| onUnfetchedAttribute | back to summary |
|---|---|
| public String onUnfetchedAttribute(FetchGroupTracker entity, String attributeName) Overrides org. Called on attempt to get value of an attribute that hasn't been fetched yet. Returns an error message in case exception should be thrown by the calling method, null otherwise.
| |
| onUnfetchedAttributeForSet | back to summary |
|---|---|
| public String onUnfetchedAttributeForSet(FetchGroupTracker entity, String attributeName) Overrides org. Called on attempt to assign value to an attribute that hasn't been fetched yet. Returns an error message in case exception should be thrown by the calling method, null otherwise.
| |
| removeAttribute | back to summary |
|---|---|
| public void removeAttribute(String attributeNameOrPath) Overrides org. Doc from org. Remove an attribute from the group.
| |
| setOnEntity | back to summary |
|---|---|
| public void setOnEntity(Object entity, AbstractSession session) Set this EntityFetchGroup on an entity implementing
| |