public interface IlrXmlClass extends IlrXmlType
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.
| Modifier and Type | Field and Description |
|---|---|
static int |
UNBOUNDED
Constant representing the
maxOccurs value of an
unbounded collection attribute. |
| Modifier and Type | Method and Description |
|---|---|
IlrXmlType |
getAttributeComponentType(java.lang.String name)
Get the component type of an attribute given its XOM name.
|
int |
getAttributeMaxOccurs(java.lang.String name)
Get the maximum occurence of an attribute.
|
int |
getAttributeMinOccurs(java.lang.String name)
Get the minimum occurrence of an attribute.
|
java.lang.String[] |
getAttributes()
Get the attribute name list of the class.
|
java.lang.String |
getAttributeXmlName(java.lang.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(java.lang.String name)
To know if an attribute identified by its XOM name is
unary.
|
getJavaClass, getName, getXmlName, getXmlNamespace, isAssignableFrom, isLocalstatic final int UNBOUNDED
maxOccurs value of an
unbounded collection attribute.java.lang.String[] getAttributes()
boolean isUnaryAttribute(java.lang.String name)
throws IlrXmlException
IlrXmlException - raised when the attribute
does not exist.name - The name of the attribute.int getAttributeMinOccurs(java.lang.String name)
throws IlrXmlException
IlrXmlException - raised when the attribute
does not exist.name - The name of the attribute.int getAttributeMaxOccurs(java.lang.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.UNBOUNDEDIlrXmlType getAttributeComponentType(java.lang.String name) throws IlrXmlException
IlrXmlException - raised when the attribute
does not exist.name - The name of the attribute.minOccurs information of an attribute.java.lang.String getAttributeXmlName(java.lang.String name)
throws IlrXmlException
IlrXmlException - raised when the attribute
does not exist.name - The name of the attribute.IlrXmlClass getSuperclass()
boolean hasRestrictionDerivation()
boolean hasExtensionDerivation()
© Copyright IBM Corp. 1987, 2017