Class ParticleMappingDefinition
java.lang.Object
com.aquima.interactions.communication.impl.ParticleMappingDefinition
- All Implemented Interfaces:
IParticleMappingDefinition
,Serializable
- Direct Known Subclasses:
AnyParticleMappingDefinition
,ElementParticleMappingDefinition
,GroupParticleMappingDefinition
public abstract class ParticleMappingDefinition
extends Object
implements IParticleMappingDefinition
Internal abstract IParticleMappingDefinition implementation that uses a datasource for construction.
- Since:
- 9.0
- Author:
- Jon van Leuven, Arjan Pragt
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
ParticleMappingDefinition
(long minOccurs, long maxOccurs) protected
ParticleMappingDefinition
(IParticleMappingDS datasource) -
Method Summary
Modifier and TypeMethodDescriptionlong
This method returns the max occurs of the particle.long
This method returns the min occurs of the particle.protected abstract void
initialize
(SchemaSetDefinition schemaSet) boolean
This method indicates whether the max occurs is unbounded.
-
Constructor Details
-
ParticleMappingDefinition
protected ParticleMappingDefinition() -
ParticleMappingDefinition
protected ParticleMappingDefinition(long minOccurs, long maxOccurs) -
ParticleMappingDefinition
-
-
Method Details
-
initialize
-
getMinOccurs
public long getMinOccurs()Description copied from interface:IParticleMappingDefinition
This method returns the min occurs of the particle.- Specified by:
getMinOccurs
in interfaceIParticleMappingDefinition
- Returns:
- The min occurs.
-
getMaxOccurs
public long getMaxOccurs()Description copied from interface:IParticleMappingDefinition
This method returns the max occurs of the particle.- Specified by:
getMaxOccurs
in interfaceIParticleMappingDefinition
- Returns:
- The max occurs.
-
isUnbounded
public boolean isUnbounded()Description copied from interface:IParticleMappingDefinition
This method indicates whether the max occurs is unbounded.- Specified by:
isUnbounded
in interfaceIParticleMappingDefinition
- Returns:
- Indicator for unbounded.
-