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 TypeMethodDescriptionvoidsetAssociationType(EntityAssociation.Type associationType) voidShould the association be hidden or explicitly shown in the administrative UI.voidsetParentDeleteMode(EntityAssociation.ParentDeleteMode parentDeleteMode) voidsetSourceProperty(EntityPropertyDescriptor descriptor) voidsetTargetEntityConfiguration(EntityConfiguration entityConfiguration) voidsetTargetProperty(EntityPropertyDescriptor descriptor) Methods inherited from interface org.springframework.core.AttributeAccessor
attributeNames, computeAttribute, getAttribute, hasAttribute, removeAttribute, setAttributeMethods inherited from interface com.foreach.across.modules.entity.registry.ConfigurableEntityViewRegistry
registerView, removeViewMethods inherited from interface com.foreach.across.modules.entity.registry.EntityAssociation
getAssociationType, getEntityType, getName, getParentDeleteMode, getSourceEntityConfiguration, getSourceProperty, getTargetEntityConfiguration, getTargetProperty, isHiddenMethods inherited from interface com.foreach.across.modules.entity.registry.EntityViewRegistry
getViewFactory, getViewNames, hasViewMethods inherited from interface com.foreach.across.core.support.ReadableAttributes
attributeMap, attributeNames, getAttribute, getAttribute, getAttribute, hasAttribute, hasAttributeMethods 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 participatingEntityConfigurationinstances is hidden.- Parameters:
hidden- true if should not show in the UI, can be null to revert to default check
-
setTargetEntityConfiguration
-
setSourceProperty
-
setTargetProperty
-
setParentDeleteMode
-