Class RelationOverrideModelHandler
java.lang.Object
ch.tocco.nice2.model.entity.impl.reading.relation.AbstractRelationModelHandler
ch.tocco.nice2.model.entity.impl.reading.relation.RelationOverrideModelHandler
- All Implemented Interfaces:
ValidatorReceivable
public class RelationOverrideModelHandler
extends AbstractRelationModelHandler
implements ValidatorReceivable
-
Field Summary
Fields inherited from class ch.tocco.nice2.model.entity.impl.reading.relation.AbstractRelationModelHandler
cardinality, defaultValueReceiver, displays, receiver, resolver, selectors, sourceHndlr, targetHndlr, validator, validatorReceiver
-
Constructor Summary
ConstructorDescriptionRelationOverrideModelHandler
(NiceModelReceiver receiver, DisplayValueFactory displays, SelectorFactoryManager selectors, ValidatorHandlerContextFactory validatorHandlerContextFactory, DefaultValueResolver resolver, ConfigModuleContext configModuleContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
finish()
void
parseCardinality
(String cardinality) source()
target()
Methods inherited from class ch.tocco.nice2.model.entity.impl.reading.relation.AbstractRelationModelHandler
addDefaultValues, addNameAndDefaultLabels, addValidations, addValidator, setDefaultValueToRelation, setSchema, startElement
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.validate.api.ValidatorReceivable
addValidator
-
Constructor Details
-
RelationOverrideModelHandler
public RelationOverrideModelHandler(NiceModelReceiver receiver, DisplayValueFactory displays, SelectorFactoryManager selectors, ValidatorHandlerContextFactory validatorHandlerContextFactory, DefaultValueResolver resolver, ConfigModuleContext configModuleContext)
-
-
Method Details
-
source
-
target
-
parseCardinality
@Element("cardinality") @Cardinality(min=0, max=1) public void parseCardinality(@Content String cardinality) throws InvalidValueException - Overrides:
parseCardinality
in classAbstractRelationModelHandler
- Throws:
InvalidValueException
-
finish
- Throws:
InvalidValueException
-