BEA Systems, Inc.

com.beasys.commerce.axiom.reasoning.rules
Class Rule

java.lang.Object
  |
  +--com.sun.xml.tree.NodeBase
        |
        +--com.sun.xml.tree.ParentNode
              |
              +--com.sun.xml.tree.ElementNode
                    |
                    +--com.beasys.commerce.axiom.reasoning.rules.BasicNode
                          |
                          +--com.beasys.commerce.axiom.reasoning.rules.NamedNode
                                |
                                +--com.beasys.commerce.axiom.reasoning.rules.Rule

public class Rule
extends NamedNode

Class representing the DTD rule tag.

See Also:
Serialized Form

Field Summary
 java.lang.String ATTRIBUTE_contentType
           
 java.lang.String ATTRIBUTE_type
           
 
Fields inherited from class com.beasys.commerce.axiom.reasoning.rules.NamedNode
ATTRIBUTE_name
 
Constructor Summary
Rule()
          Default constructor.
 
Method Summary
 java.lang.String getComment()
          Get comment.
 java.lang.String getContentType()
          Get content type.
 java.lang.String getDescription()
          Get description.
 Then getThen()
          Get then clause.
 java.lang.String getTransientTagName()
          Get tag name.
 java.lang.String getType()
          Get type.
 When getWhen()
          Get when clause.
 void setComment(java.lang.String aComment)
          Set comment.
 void setContentType(java.lang.String aContentType)
          Set content type.
 void setDescription(java.lang.String aDescription)
          Set description.
 void setType(java.lang.String aType)
          Set type.
 
Methods inherited from class com.beasys.commerce.axiom.reasoning.rules.NamedNode
getName, setName
 
Methods inherited from class com.beasys.commerce.axiom.reasoning.rules.BasicNode
addChild, getChildren, getList, load, loadDOM, removeChild
 
Methods inherited from class com.sun.xml.tree.ElementNode
cloneNode, getAttribute, getAttribute, getAttributeNode, getAttributeNode, getAttributes, getIdAttributeName, getLocalName, getNamespace, getNodeName, getNodeType, getPrefix, getTagName, getUserObject, normalize, removeAttribute, removeAttributeNode, removeWhiteSpaces, setAttribute, setAttributeNode, setIdAttributeName, setPrefix, setReadonly, setUserObject, toString, trimToSize, write, writeXml
 
Methods inherited from class com.sun.xml.tree.ParentNode
appendChild, doneChild, doneParse, getElementsByTagName, getFirstChild, getIndexOf, getLastChild, getLength, hasChildNodes, insertBefore, item, removeChild, replaceChild, startParse, writeChildrenXml
 
Methods inherited from class com.sun.xml.tree.NodeBase
getChildNodes, getInheritedAttribute, getInheritedAttribute, getLanguage, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, isReadonly, setNodeValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTRIBUTE_type

public java.lang.String ATTRIBUTE_type

ATTRIBUTE_contentType

public java.lang.String ATTRIBUTE_contentType
Constructor Detail

Rule

public Rule()
Default constructor.
Method Detail

getType

public java.lang.String getType()
Get type.
Returns:
String

setType

public void setType(java.lang.String aType)
Set type.
Parameters:
aDescription -  

getContentType

public java.lang.String getContentType()
Get content type.
Returns:
String

setContentType

public void setContentType(java.lang.String aContentType)
Set content type.
Parameters:
aContentType -  

getWhen

public When getWhen()
Get when clause. If it hasn't been attached to the rule, it will attach it.
Returns:
When

getThen

public Then getThen()
Get then clause. If it hasn't been attached to the rule, it will attach it.
Returns:
Then

getDescription

public java.lang.String getDescription()
Get description.
Returns:
String

setDescription

public void setDescription(java.lang.String aDescription)
Set description.
Parameters:
aDescription -  

getComment

public java.lang.String getComment()
Get comment.
Returns:
String

setComment

public void setComment(java.lang.String aComment)
Set comment.
Parameters:
aComment -  

getTransientTagName

public java.lang.String getTransientTagName()
Get tag name.
Overrides:
getTransientTagName in class BasicNode
Returns:
String

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved