Class TypeMappingDefinition
java.lang.Object
com.aquima.interactions.communication.impl.TypeMappingDefinition
- All Implemented Interfaces:
ITypeMappingDefinition
,Serializable
Internal IMessagePartDefinition implementation that uses a datasource for construction.
- Since:
- 9.0
- Author:
- Jon van Leuven, Arjan Pragt
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TypeMappingDefinition
(SchemaDefinition schema, ITypeMappingDS datasource, IMetaModel metamodel, IRuleEngine ruleEngine, boolean inline) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAttribute
(IAttributeMappingDefinition attribute) protected void
addDerivedType
(ITypeMappingDefinition derivedType) This method returns the attributes of the type.This method returns the base type of this type.This method returns the composed (merged with base) attributes of the type.protected IAttributeDefinition
This method returns the composed (merged with base) content attribute.This method returns the composed (merged with base) content type.This method returns the validation of the composed content validation.This method returns the composed (merged with base) of the rootgroup.This method returns the attribute definition of the content.This method returns the content type of this type.This method returns the validations of the content attribute.This method returns all derived types of this type.protected IEntityDefinition
This method returns the entity of this type.getName()
This method returns the name of the type.This method returns the full qualified name of the type.This method returns the rootgroup of the type.This method returns the schema in which the type is defined.protected void
initialize
(SchemaSetDefinition schemaSet) toString()
-
Constructor Details
-
TypeMappingDefinition
protected TypeMappingDefinition(SchemaDefinition schema, ITypeMappingDS datasource, IMetaModel metamodel, IRuleEngine ruleEngine, boolean inline)
-
-
Method Details
-
initialize
-
getName
Description copied from interface:ITypeMappingDefinition
This method returns the name of the type.- Specified by:
getName
in interfaceITypeMappingDefinition
- Returns:
- The name of the type, may not be null.
-
getQualifiedName
Description copied from interface:ITypeMappingDefinition
This method returns the full qualified name of the type.- Specified by:
getQualifiedName
in interfaceITypeMappingDefinition
- Returns:
- The full qualified name, may not be null.
-
getSchema
Description copied from interface:ITypeMappingDefinition
This method returns the schema in which the type is defined.- Specified by:
getSchema
in interfaceITypeMappingDefinition
- Returns:
- The schema definition, may not be null.
-
getBaseType
Description copied from interface:ITypeMappingDefinition
This method returns the base type of this type.- Specified by:
getBaseType
in interfaceITypeMappingDefinition
- Returns:
- The base type of this type, may be null.
-
getDerivedTypes
Description copied from interface:ITypeMappingDefinition
This method returns all derived types of this type.- Specified by:
getDerivedTypes
in interfaceITypeMappingDefinition
- Returns:
- All derived types, may not be null.
-
getEntityName
Description copied from interface:ITypeMappingDefinition
This method returns the entity of this type.- Specified by:
getEntityName
in interfaceITypeMappingDefinition
- Returns:
- The entity of this type, may not be null.
-
getEntity
-
getContentType
Description copied from interface:ITypeMappingDefinition
This method returns the content type of this type.- Specified by:
getContentType
in interfaceITypeMappingDefinition
- Returns:
- The content type of this type, may be null.
-
getContentAttributeName
Description copied from interface:ITypeMappingDefinition
This method returns the attribute definition of the content.- Specified by:
getContentAttributeName
in interfaceITypeMappingDefinition
- Returns:
- The content attribute, may be null.
-
getContentValidations
Description copied from interface:ITypeMappingDefinition
This method returns the validations of the content attribute.- Specified by:
getContentValidations
in interfaceITypeMappingDefinition
- Returns:
- The validations of the content attribute, may be null.
-
getComposedContentType
Description copied from interface:ITypeMappingDefinition
This method returns the composed (merged with base) content type.- Specified by:
getComposedContentType
in interfaceITypeMappingDefinition
- Returns:
- The composed content type, or null.
-
getComposedContentAttributeName
Description copied from interface:ITypeMappingDefinition
This method returns the composed (merged with base) content attribute.- Specified by:
getComposedContentAttributeName
in interfaceITypeMappingDefinition
- Returns:
- The composed content attribute, or null.
-
getComposedContentAttribute
-
getComposedContentValidations
Description copied from interface:ITypeMappingDefinition
This method returns the validation of the composed content validation.- Specified by:
getComposedContentValidations
in interfaceITypeMappingDefinition
- Returns:
- The composed validations, may not be null.
-
getRootGroup
Description copied from interface:ITypeMappingDefinition
This method returns the rootgroup of the type.- Specified by:
getRootGroup
in interfaceITypeMappingDefinition
- Returns:
- The rootgroup of the type, may be null.
-
getComposedRootGroup
Description copied from interface:ITypeMappingDefinition
This method returns the composed (merged with base) of the rootgroup.- Specified by:
getComposedRootGroup
in interfaceITypeMappingDefinition
- Returns:
- The composed rootgroup, may be null.
-
getAttributes
Description copied from interface:ITypeMappingDefinition
This method returns the attributes of the type.- Specified by:
getAttributes
in interfaceITypeMappingDefinition
- Returns:
- The attributes of the type, may not be null.
-
getComposedAttributes
Description copied from interface:ITypeMappingDefinition
This method returns the composed (merged with base) attributes of the type.- Specified by:
getComposedAttributes
in interfaceITypeMappingDefinition
- Returns:
- The composed attributs, may not be null.
-
addDerivedType
-
addAttribute
-
toString
-