Package org.drools.traits.core.factmodel
Class TripleBasedBean
- java.lang.Object
-
- org.drools.traits.core.factmodel.TripleBasedStruct
-
- org.drools.traits.core.factmodel.TripleBasedBean
-
- All Implemented Interfaces:
Externalizable,Serializable,Map<String,Object>
public class TripleBasedBean extends TripleBasedStruct
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Objectobject-
Fields inherited from class org.drools.traits.core.factmodel.TripleBasedStruct
store, storeId, tripleFactory
-
-
Constructor Summary
Constructors Constructor Description TripleBasedBean()TripleBasedBean(Object o, TripleStore store, TripleFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetObject()voidreadExternal(ObjectInput in)voidsetObject(Object object)StringtoString()voidwriteExternal(ObjectOutput out)-
Methods inherited from class org.drools.traits.core.factmodel.TripleBasedStruct
clear, containsKey, containsValue, entrySet, equals, get, getTripleFactory, getTriplesForSubject, isEmpty, keySet, property, propertyKey, propertyKey, put, putAll, remove, setTripleFactory, size, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Field Detail
-
object
protected Object object
-
-
Constructor Detail
-
TripleBasedBean
public TripleBasedBean()
-
TripleBasedBean
public TripleBasedBean(Object o, TripleStore store, TripleFactory factory)
-
-
Method Detail
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classTripleBasedStruct- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classTripleBasedStruct- Throws:
IOExceptionClassNotFoundException
-
getObject
public Object getObject()
- Specified by:
getObjectin classTripleBasedStruct
-
setObject
public void setObject(Object object)
- Specified by:
setObjectin classTripleBasedStruct
-
toString
public String toString()
- Overrides:
toStringin classTripleBasedStruct
-
-