public class VirtualFact
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected OAVAttributeType |
attr
The attribute.
|
protected java.lang.Object |
object
The real fact (object).
|
protected java.util.List |
values
The values of the sub attributes.
|
Constructor and Description |
---|
VirtualFact(java.lang.Object object,
OAVAttributeType attr,
java.util.List values)
Create a new virtual fact.
|
Modifier and Type | Method and Description |
---|---|
OAVAttributeType |
getAttribute()
Get the attribute.
|
java.lang.Object |
getObject()
Get the real fact.
|
java.lang.Object |
getSubAttributeValue(OAVAttributeType attr,
int subindex)
Get the value or values of a sub attribute.
|
VirtualFact |
getSuperFact()
Get the containing fact.
|
java.lang.String |
toString()
Get the string representation.
|
protected java.lang.Object object
protected OAVAttributeType attr
protected java.util.List values
public VirtualFact(java.lang.Object object, OAVAttributeType attr, java.util.List values)
public java.lang.Object getObject()
public OAVAttributeType getAttribute()
public VirtualFact getSuperFact()
public java.lang.Object getSubAttributeValue(OAVAttributeType attr, int subindex)
attr
- The attribute.subindex
- The subindex.public java.lang.String toString()
toString
in class java.lang.Object