Interface MutableEntityAssociation
- All Superinterfaces:
org.springframework.core.AttributeAccessor
,ConfigurableEntityViewRegistry
,EntityAssociation
,EntityViewRegistry
,com.foreach.across.core.support.ReadableAttributes
,com.foreach.across.core.support.WritableAttributes
- All Known Implementing Classes:
EntityAssociationImpl
public interface MutableEntityAssociation
extends EntityAssociation, com.foreach.across.core.support.WritableAttributes, ConfigurableEntityViewRegistry
- Author:
- Arne Vandamme
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.foreach.across.modules.entity.registry.EntityAssociation
EntityAssociation.ParentDeleteMode, EntityAssociation.Type
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setAssociationType
(EntityAssociation.Type associationType) void
Should the association be hidden or explicitly shown in the administrative UI.void
setParentDeleteMode
(EntityAssociation.ParentDeleteMode parentDeleteMode) void
setSourceProperty
(EntityPropertyDescriptor descriptor) void
setTargetEntityConfiguration
(EntityConfiguration entityConfiguration) void
setTargetProperty
(EntityPropertyDescriptor descriptor) Methods inherited from interface org.springframework.core.AttributeAccessor
attributeNames, computeAttribute, getAttribute, hasAttribute, removeAttribute, setAttribute
Methods inherited from interface com.foreach.across.modules.entity.registry.ConfigurableEntityViewRegistry
registerView, removeView
Methods inherited from interface com.foreach.across.modules.entity.registry.EntityAssociation
getAssociationType, getEntityType, getName, getParentDeleteMode, getSourceEntityConfiguration, getSourceProperty, getTargetEntityConfiguration, getTargetProperty, isHidden
Methods inherited from interface com.foreach.across.modules.entity.registry.EntityViewRegistry
getViewFactory, getViewNames, hasView
Methods inherited from interface com.foreach.across.core.support.ReadableAttributes
attributeMap, attributeNames, getAttribute, getAttribute, getAttribute, hasAttribute, hasAttribute
Methods inherited from interface com.foreach.across.core.support.WritableAttributes
removeAttribute, setAttribute, setAttributes
-
Method Details
-
setAssociationType
-
setHidden
Should the association be hidden or explicitly shown in the administrative UI. If the property is not set explicitly on the association (or set to null), an association should be hidden if any of its participatingEntityConfiguration
instances is hidden.- Parameters:
hidden
- true if should not show in the UI, can be null to revert to default check
-
setTargetEntityConfiguration
-
setSourceProperty
-
setTargetProperty
-
setParentDeleteMode
-