Class ElementParticleMappingDefinition
java.lang.Object
com.aquima.interactions.communication.impl.ParticleMappingDefinition
com.aquima.interactions.communication.impl.ElementParticleMappingDefinition
- All Implemented Interfaces:
IElementParticleMappingDefinition
,IParticleMappingDefinition
,Serializable
public final class ElementParticleMappingDefinition
extends ParticleMappingDefinition
implements IElementParticleMappingDefinition
Element particle mapping definition that can be created with a datasource.
- Since:
- 9.0
- Author:
- Jon van Leuven, Arjan Pragt
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ElementParticleMappingDefinition
(SchemaDefinition schema, IElementParticleMappingDS datasource, IEntityDefinition entityDef, IMetaModel metaModel, IRuleEngine ruleEngine) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the attribute for the element content.This method returns the element reference of the element.getForm()
This method returns the schemaforn of the attribute.This method returns the element reference of the element.getName()
This method returns the name of the element particle.This method returns the qualified name of the element particle.This method returns the element reference of the element.This method returns the validations of the attribute.protected void
initialize
(SchemaSetDefinition schemaSet) boolean
This method returns whether the element is nillableMethods inherited from class com.aquima.interactions.communication.impl.ParticleMappingDefinition
getMaxOccurs, getMinOccurs, isUnbounded
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.communication.IParticleMappingDefinition
getMaxOccurs, getMinOccurs, isUnbounded
-
Constructor Details
-
ElementParticleMappingDefinition
protected ElementParticleMappingDefinition(SchemaDefinition schema, IElementParticleMappingDS datasource, IEntityDefinition entityDef, IMetaModel metaModel, IRuleEngine ruleEngine) throws InitializationException - Throws:
InitializationException
-
-
Method Details
-
initialize
- Specified by:
initialize
in classParticleMappingDefinition
- Throws:
InitializationException
-
getName
Description copied from interface:IElementParticleMappingDefinition
This method returns the name of the element particle.- Specified by:
getName
in interfaceIElementParticleMappingDefinition
- Returns:
- The name of the element particle, may not be null.
-
getQualifiedName
Description copied from interface:IElementParticleMappingDefinition
This method returns the qualified name of the element particle.- Specified by:
getQualifiedName
in interfaceIElementParticleMappingDefinition
- Returns:
- The qualified name of the element particle, may not be null.
-
getForm
Description copied from interface:IElementParticleMappingDefinition
This method returns the schemaforn of the attribute.- Specified by:
getForm
in interfaceIElementParticleMappingDefinition
- Returns:
- the schemaform, may not be null.
-
getAttributeName
Description copied from interface:IElementParticleMappingDefinition
This method returns the attribute for the element content.- Specified by:
getAttributeName
in interfaceIElementParticleMappingDefinition
- Returns:
- The attribute definition, may be null.
-
getElementReference
Description copied from interface:IElementParticleMappingDefinition
This method returns the element reference of the element. An element has either an elementreference, typereference or an inlinetype. If it is not an elementreference this method must return null.- Specified by:
getElementReference
in interfaceIElementParticleMappingDefinition
- Returns:
- The full name of the referenced element.
-
getTypeReference
Description copied from interface:IElementParticleMappingDefinition
This method returns the element reference of the element. An element has either an elementreference, typereference or an inlinetype. If it is not a typereference this method must return null.- Specified by:
getTypeReference
in interfaceIElementParticleMappingDefinition
- Returns:
- The typereference of the element.
-
getInlineType
Description copied from interface:IElementParticleMappingDefinition
This method returns the element reference of the element. An element has either an elementreference, typereference or an inlinetype. If it is not a elementreference this method must return null.- Specified by:
getInlineType
in interfaceIElementParticleMappingDefinition
- Returns:
- The type definition of the inline type.
-
isNillable
public boolean isNillable()Description copied from interface:IElementParticleMappingDefinition
This method returns whether the element is nillable- Specified by:
isNillable
in interfaceIElementParticleMappingDefinition
- Returns:
- The nillable value
-
getValidations
Description copied from interface:IElementParticleMappingDefinition
This method returns the validations of the attribute.- Specified by:
getValidations
in interfaceIElementParticleMappingDefinition
- Returns:
- The validations of the attribute, may not be null.
-