Package org.drools.traits.core.factmodel
Class TripleBasedStruct
java.lang.Object
org.drools.traits.core.factmodel.TripleBasedStruct
- All Implemented Interfaces:
Externalizable,Serializable,Map<String,Object>
- Direct Known Subclasses:
TripleBasedBean,TripleBasedTypes
public abstract class TripleBasedStruct
extends Object
implements Map<String,Object>, Externalizable
- See Also:
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanabstract Objectprotected Collection<Triple>getTriplesForSubject(Object subj) booleanisEmpty()keySet()protected Tripleprotected TriplepropertyKey(Object property) protected TriplepropertyKey(String property) voidvoidabstract voidvoidsetTripleFactory(TripleFactory factory) intsize()toString()values()voidMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
store
-
storeId
-
tripleFactory
-
-
Constructor Details
-
TripleBasedStruct
public TripleBasedStruct()
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
propertyKey
-
propertyKey
-
property
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
get
-
put
-
remove
-
clear
public void clear() -
putAll
-
keySet
-
values
-
entrySet
-
equals
-
getTriplesForSubject
-
getObject
-
setObject
-
toString
-
getTripleFactory
-
setTripleFactory
-