|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IlrXmlClass
This class represents a dynamic XML class generated
by an IlrXmlDataDriver
. It provides the
structural information about a dynamic class, such as
its attribute types.
There is no runtime method to handle an
IlrXmlObject
instance. Runtime methods are
provided in the ilog.rules.factory.IlrReflect
class.
IlrXmlModel.getClass(java.lang.String)
,
IlrXmlType
Field Summary | |
---|---|
static int |
UNBOUNDED
Constant representing the maxOccurs value of an
unbounded collection attribute. |
Method Summary | |
---|---|
IlrXmlType |
getAttributeComponentType(String name)
Get the component type of an attribute given its XOM name. |
int |
getAttributeMaxOccurs(String name)
Get the maximum occurence of an attribute. |
int |
getAttributeMinOccurs(String name)
Get the minimum occurrence of an attribute. |
String[] |
getAttributes()
Get the attribute name list of the class. |
String |
getAttributeXmlName(String name)
Get the attribute XML name if it exists. |
IlrXmlClass |
getSuperclass()
Get the superclass of the class. |
boolean |
hasExtensionDerivation()
To know if the derivation is a extension kind. |
boolean |
hasRestrictionDerivation()
To know if the derivation is a restriction kind. |
boolean |
isUnaryAttribute(String name)
To know if an attribute identified by its XOM name is unary. |
Methods inherited from interface ilog.rules.xml.model.IlrXmlType |
---|
getJavaClass, getName, getXmlName, getXmlNamespace, isAssignableFrom, isLocal |
Field Detail |
---|
static final int UNBOUNDED
maxOccurs
value of an
unbounded collection attribute.
getAttributeMaxOccurs(java.lang.String)
,
Constant Field ValuesMethod Detail |
---|
String[] getAttributes()
boolean isUnaryAttribute(String name) throws IlrXmlException
IlrXmlException
- raised when the attribute
does not exist.name
- The name of the attribute.
int getAttributeMinOccurs(String name) throws IlrXmlException
IlrXmlException
- raised when the attribute
does not exist.name
- The name of the attribute.
int getAttributeMaxOccurs(String name) throws IlrXmlException
UNBOUNDED
value is returned.
IlrXmlException
- raised when the attribute
does not exist.name
- The name of the attribute.
maxOccurs
information of an attribute.UNBOUNDED
IlrXmlType getAttributeComponentType(String name) throws IlrXmlException
IlrXmlException
- raised when the attribute
does not exist.name
- The name of the attribute.
minOccurs
information of an attribute.String getAttributeXmlName(String name) throws IlrXmlException
IlrXmlException
- raised when the attribute
does not exist.name
- The name of the attribute.
IlrXmlClass getSuperclass()
boolean hasRestrictionDerivation()
boolean hasExtensionDerivation()
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |