public class OAVJavaAttributeType extends OAVAttributeType
| Modifier and Type | Field and Description |
|---|---|
protected jadex.commons.beans.PropertyDescriptor |
propdesc
The property descriptor.
|
protected static java.lang.reflect.Method |
propreadmethod
The property object read method.
|
def, hashcode, idxattr, LIST, MAP, mult, MULTIPLICITIES_ALL, MULTIPLICITIES_MAPS, MULTIPLICITIES_MULT, name, NONE, OBJECTTYPE, ORDEREDMAP, otype, QUEUE, SET, type| Constructor and Description |
|---|
OAVJavaAttributeType(OAVObjectType otype,
java.lang.String name,
OAVObjectType type,
java.lang.String mult,
java.lang.Object def,
jadex.commons.beans.PropertyDescriptor propdesc)
Create a new OAV attribute type.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accessProperty(java.lang.Object object)
Get the attribute value from a given object.
|
protected int |
calcHashCode()
Compute the hashcode.
|
boolean |
equals(java.lang.Object obj)
Test for equality.
|
getDefaultValue, getIndexAttribute, getMultiplicity, getName, getObjectType, getType, hashCode, toStringprotected jadex.commons.beans.PropertyDescriptor propdesc
protected static volatile java.lang.reflect.Method propreadmethod
public OAVJavaAttributeType(OAVObjectType otype, java.lang.String name, OAVObjectType type, java.lang.String mult, java.lang.Object def, jadex.commons.beans.PropertyDescriptor propdesc)
otype - The object type holding the attribute.name - The name of the OAV attribute type.mult - The multiplicity.type - The type.def - The default value.protected int calcHashCode()
calcHashCode in class OAVAttributeTypepublic boolean equals(java.lang.Object obj)
equals in class OAVAttributeTypepublic java.lang.Object accessProperty(java.lang.Object object)
object - The object.