jtp.frame
Class SlotValueCollection
java.lang.Object
|
+--java.util.AbstractCollection
|
+--jtp.frame.vc.ValueCollection
|
+--jtp.frame.SlotValueCollection
- All Implemented Interfaces:
- Collection, Serializable
- public class SlotValueCollection
- extends ValueCollection
SlotValueCollection.java
Created: Mon Mar 15 18:22:10 1999
- See Also:
- Serialized Form
Methods inherited from class jtp.frame.vc.ValueCollection |
add, add, addValueCollectionListener, contains, directValues, getProof, getVCListener, isEmpty, iterator, remove, removeValueCollectionListener, setProof, size, valueIsInferred |
facet
protected Symbol facet
slot
protected Symbol slot
frame
protected Object frame
links
protected Collection links
outLinks
protected Collection outLinks
inverse
protected boolean inverse
SlotValueCollection
public SlotValueCollection(Symbol facet,
Symbol slot,
Object frame,
boolean inverse)
getSlot
public Symbol getSlot()
getFrame
public Object getFrame()
getFacet
public Symbol getFacet()
isInverse
public boolean isInverse()
toString
public String toString()
- Description copied from class:
ValueCollection
- creates a string representation of this value collection; values are listed.
- Overrides:
toString
in class ValueCollection
getInputLinks
public Collection getInputLinks()
- Description copied from class:
ValueCollection
- returns the collection of objects of type ValueLink that represent included
collections. Should be overridden by value collections that include others.
- Overrides:
getInputLinks
in class ValueCollection
- Returns:
- this base version returns Collections.EMPTY_SET
setInputLinks
public void setInputLinks(Collection c)
- Overrides:
setInputLinks
in class ValueCollection
getOutputLinks
public Collection getOutputLinks()
- Specified by:
getOutputLinks
in class ValueCollection
setOutputLinks
public void setOutputLinks(Collection c)
- Specified by:
setOutputLinks
in class ValueCollection
getMembershipString
public String getMembershipString(Object o)
- Overrides:
getMembershipString
in class ValueCollection
getMembershipGoal
public Object getMembershipGoal(Object value)
- Overrides:
getMembershipGoal
in class ValueCollection
formLiteral
public static Literal formLiteral(Symbol facet,
Symbol slot,
Object frame,
Object value,
boolean inverse)