|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.p13n.rules.model.RuleModelInfoSvc.ClauseModelInfo
public static class RuleModelInfoSvc.ClauseModelInfo
Base information about clause models.
Constructor Summary | |
---|---|
RuleModelInfoSvc.ClauseModelInfo(String clauseType, boolean isCondition, boolean isAction, Class<? extends ClauseModel> modelClass, ClauseModelRecognizer recognizer, int recognizerPriority) Constructor. |
|
RuleModelInfoSvc.ClauseModelInfo(String clauseType, boolean isCondition, Class<? extends ClauseModel> modelClass, ClauseModelRecognizer recognizer) Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object o) |
ClauseModel |
getClauseModel(org.apache.xmlbeans.XmlObject clause) Get a clause model instance of this type for the specified xml structure or a new, empty structure. |
Class<? extends ClauseModel> |
getClauseModelClass() Get the Class object for this kind of ClauseModel. |
String |
getClauseType() Get the clause type identifier for this clause. |
ClauseModelRecognizer |
getRecognizer() Get the recognizer for this type of clause. |
int |
getRecognizerPriority() |
int |
hashCode() |
boolean |
isAction() Tell if this is available as a action clause. |
boolean |
isCondition() Tell if this is available as a condition clause. |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RuleModelInfoSvc.ClauseModelInfo(String clauseType, boolean isCondition, boolean isAction, Class<? extends ClauseModel> modelClass, ClauseModelRecognizer recognizer, int recognizerPriority)
public RuleModelInfoSvc.ClauseModelInfo(String clauseType, boolean isCondition, Class<? extends ClauseModel> modelClass, ClauseModelRecognizer recognizer)
Method Detail |
---|
public String getClauseType()
public boolean isCondition()
public boolean isAction()
public Class<? extends ClauseModel> getClauseModelClass()
The class is guarenteed to be an subclass of ClauseModel.
public ClauseModelRecognizer getRecognizer()
public int getRecognizerPriority()
public ClauseModel getClauseModel(org.apache.xmlbeans.XmlObject clause) throws IllegalArgumentException
The ClauseModel returned will be an instance of the Class from getClauseModelClass()
.
clause
- the xml structure of the clause, or null for a newly initialized model.IllegalArgumentException
- if clause isn't recognized by our recognizer
or can't be instantied.RuleModelInfoSvc.createClauseModel(java.lang.String, java.lang.Class extends com.bea.p13n.rules.model.ClauseModel>
, org.apache.xmlbeans.XmlObject)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.