|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.xml.util.IlrXmlDefaultDataTypeMapper
public class IlrXmlDefaultDataTypeMapper
The default implementation of an XML data type mapper.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface ilog.rules.xml.util.IlrXmlDataTypeMapper |
---|
IlrXmlDataTypeMapper.CollectionMapper |
Constructor Summary | |
---|---|
IlrXmlDefaultDataTypeMapper(IlrObjectModel objectModel)
|
Method Summary | |
---|---|
IlrXmlDataTypeMapper.CollectionMapper |
getCollectionMapper(IlrType componentXomType)
Gets the collection mapping that describes how the collection field of a schema should be mapped on a Java type. |
boolean |
mapEnumerationAsStaticFields(IlrType type)
Determines if static fields are generated for representing simple type enumerations. |
boolean |
mapFacetAsStaticMethod()
Determines if static methods is generated for representing simple type facets. |
void |
setDefaultCollectionMapper(IlrXmlDataTypeMapper.CollectionMapper collectionMapper)
Set the collection mapper. |
void |
setMapFacetAsStaticMethod(boolean facetAsStaticMethodFlag)
|
void |
setUseArrayCollection(boolean useArrayCollectionFlag)
|
void |
setUseDynamicSimpleType(boolean dynamicSimpleTypeFlag)
|
boolean |
supportDynamicSimpleTyping(IlrType type)
Determines if a dynamic simple field of the XOM could be mapped on a simple dynamic type and not directly on a Java type. |
boolean |
useArrayCollection()
Determines if collections are mapped on arrays. |
boolean |
useDynamicSimpleType()
Determines if a dynamic simple field of the XOM could be mapped on a simple dynamic type and not directly on a Java type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrXmlDefaultDataTypeMapper(IlrObjectModel objectModel)
Method Detail |
---|
public void setUseDynamicSimpleType(boolean dynamicSimpleTypeFlag)
public void setMapFacetAsStaticMethod(boolean facetAsStaticMethodFlag)
public boolean mapFacetAsStaticMethod()
IlrXmlDataTypeMapper
mapFacetAsStaticMethod
in interface IlrXmlDataTypeMapper
public boolean mapEnumerationAsStaticFields(IlrType type)
IlrXmlDataTypeMapper
mapEnumerationAsStaticFields
in interface IlrXmlDataTypeMapper
public boolean supportDynamicSimpleTyping(IlrType type)
IlrXmlDataTypeMapper
supportDynamicSimpleTyping
in interface IlrXmlDataTypeMapper
public boolean useDynamicSimpleType()
useDynamicSimpleType
in interface IlrXmlDataTypeMapper
public void setUseArrayCollection(boolean useArrayCollectionFlag)
public boolean useArrayCollection()
getCollectionMapper
method is not invoked
to determine the collection type.
useArrayCollection
in interface IlrXmlDataTypeMapper
public IlrXmlDataTypeMapper.CollectionMapper getCollectionMapper(IlrType componentXomType)
useArrayCollection
is true.
getCollectionMapper
in interface IlrXmlDataTypeMapper
componentXomType
- The XOM type of the collection component.
public void setDefaultCollectionMapper(IlrXmlDataTypeMapper.CollectionMapper collectionMapper)
collectionMapper
- The new collection mapper.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |