org.drools.factmodel.traits
Class TraitProxy
java.lang.Object
org.drools.factmodel.traits.TraitProxy
- All Implemented Interfaces:
- Externalizable, Serializable
public abstract class TraitProxy
- extends Object
- implements Externalizable
- See Also:
- Serialized Form
tripleFactory
protected TripleFactory tripleFactory
fields
protected Map<String,Object> fields
TraitProxy
public TraitProxy()
getFields
public Map<String,Object> getFields()
setFields
protected void setFields(Map<String,Object> m)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
buildEntry
public static Map.Entry<String,Object> buildEntry(String k,
Object v)
getObject
public abstract Object getObject()
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
propertyKey
protected Triple propertyKey(String property)
property
protected Triple property(String property,
Object value)
propertyKey
protected Triple propertyKey(Object property)
getTripleFactory
public TripleFactory getTripleFactory()
setTripleFactory
public void setTripleFactory(TripleFactory tripleFactory)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.