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
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 TripleImpl propertyKey(String property)
property
protected TripleImpl property(String property,
Object value)
propertyKey
protected TripleImpl propertyKey(Object property)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.