|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deri.wsmo4j.rule.MoleculeFactRI
public class MoleculeFactRI
Interface or class description
Constructor Summary | |
---|---|
MoleculeFactRI()
Default constructor for a moleucle fact. |
|
MoleculeFactRI(org.omwg.logicalexpression.MembershipMolecule memberMolecule,
org.omwg.logicalexpression.AttributeValueMolecule attrValue)
Constructor for a Molecule Fact. |
|
MoleculeFactRI(org.omwg.logicalexpression.MembershipMolecule memberMolecule,
Set<org.omwg.logicalexpression.AttributeValueMolecule> attrValues)
Constructor for a Molecule Fact. |
|
MoleculeFactRI(Set<org.omwg.logicalexpression.MembershipMolecule> memberMolecules,
org.omwg.logicalexpression.AttributeValueMolecule attrValue)
Constructor for a Molecule Fact. |
|
MoleculeFactRI(Set<org.omwg.logicalexpression.MembershipMolecule> memberMolecules,
Set<org.omwg.logicalexpression.AttributeValueMolecule> attrValues)
Constructor for a Molecule Fact. |
Method Summary | |
---|---|
void |
addAttributeValueMolecule(org.omwg.logicalexpression.AttributeValueMolecule attrValue)
Add attribute value molecules to the compound fact. |
void |
addMembershipMolecule(org.omwg.logicalexpression.MembershipMolecule memberMolecule)
Add a membership molecule to the Compound Fact. |
boolean |
isEmpty()
Check if the fact contains any information |
Iterator<org.omwg.logicalexpression.AtomicExpression> |
iterator()
|
Set<org.omwg.logicalexpression.AttributeValueMolecule> |
listAttributeValueMolecules()
Returns a list of attribute value facts defined in the compound fact. |
Set<org.omwg.logicalexpression.MembershipMolecule> |
listMembershipMolecules()
Returns the membership fact defined in the compound fact. |
void |
removeAttributeValueMolecule(org.omwg.logicalexpression.AttributeValueMolecule attrValue)
Remove attribute value molecules to the compound fact. |
void |
removeMembershipMolecule(org.omwg.logicalexpression.MembershipMolecule memberMolecule)
Remove a membership molecule from the Compound Fact. |
String |
toString()
|
String |
toString(org.wsmo.common.TopEntity nsHolder)
returns this MoleculeFact as string using the namespace definitions in the topEntity given as parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MoleculeFactRI()
public MoleculeFactRI(Set<org.omwg.logicalexpression.MembershipMolecule> memberMolecules, Set<org.omwg.logicalexpression.AttributeValueMolecule> attrValues)
memberMolecules
- Set of MembershipMolecule objectsattrValues
- Set of AttributeValueMolecule objectspublic MoleculeFactRI(org.omwg.logicalexpression.MembershipMolecule memberMolecule, Set<org.omwg.logicalexpression.AttributeValueMolecule> attrValues)
memberMolecule
- A MembershipMolecule objectattrValues
- Set of AttributeValueMolecule objectspublic MoleculeFactRI(Set<org.omwg.logicalexpression.MembershipMolecule> memberMolecules, org.omwg.logicalexpression.AttributeValueMolecule attrValue)
memberMolecules
- Set of MembershipMolecule objectsattrValue
- An AttributeValueMolecule objectpublic MoleculeFactRI(org.omwg.logicalexpression.MembershipMolecule memberMolecule, org.omwg.logicalexpression.AttributeValueMolecule attrValue)
memberMolecule
- A MembershipMolecule objectattrValue
- An AttributeValueMolecule objectMethod Detail |
---|
public Set<org.omwg.logicalexpression.MembershipMolecule> listMembershipMolecules()
MoleculeFact
listMembershipMolecules
in interface MoleculeFact
public Set<org.omwg.logicalexpression.AttributeValueMolecule> listAttributeValueMolecules()
MoleculeFact
listAttributeValueMolecules
in interface MoleculeFact
public void addMembershipMolecule(org.omwg.logicalexpression.MembershipMolecule memberMolecule)
MoleculeFact
addMembershipMolecule
in interface MoleculeFact
public void removeMembershipMolecule(org.omwg.logicalexpression.MembershipMolecule memberMolecule)
MoleculeFact
removeMembershipMolecule
in interface MoleculeFact
public void addAttributeValueMolecule(org.omwg.logicalexpression.AttributeValueMolecule attrValue)
MoleculeFact
addAttributeValueMolecule
in interface MoleculeFact
public void removeAttributeValueMolecule(org.omwg.logicalexpression.AttributeValueMolecule attrValue)
MoleculeFact
removeAttributeValueMolecule
in interface MoleculeFact
public boolean isEmpty()
CompoundFact
isEmpty
in interface CompoundFact
public String toString()
toString
in class Object
public String toString(org.wsmo.common.TopEntity nsHolder)
MoleculeFact
toString
in interface MoleculeFact
nsHolder
- TopEntity that namespace are used to abreviate
full IRIs.
public Iterator<org.omwg.logicalexpression.AtomicExpression> iterator()
iterator
in interface Iterable<org.omwg.logicalexpression.AtomicExpression>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |