Package jadex.rules.state
Class OAVJavaAttributeType
- java.lang.Object
- 
- jadex.rules.state.OAVAttributeType
- 
- jadex.rules.state.OAVJavaAttributeType
 
 
- 
 public class OAVJavaAttributeType extends OAVAttributeType Attribute type for Java object types.
- 
- 
Field SummaryFields Modifier and Type Field Description protected PropertyDescriptorpropdescThe property descriptor.protected static java.lang.reflect.MethodpropreadmethodThe property object read method.- 
Fields inherited from class jadex.rules.state.OAVAttributeTypedef, hashcode, idxattr, LIST, MAP, mult, MULTIPLICITIES_ALL, MULTIPLICITIES_MAPS, MULTIPLICITIES_MULT, name, NONE, OBJECTTYPE, ORDEREDMAP, otype, QUEUE, SET, type
 
- 
 - 
Constructor SummaryConstructors Constructor Description OAVJavaAttributeType(OAVObjectType otype, java.lang.String name, OAVObjectType type, java.lang.String mult, java.lang.Object def, PropertyDescriptor propdesc)Create a new OAV attribute type.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectaccessProperty(java.lang.Object object)Get the attribute value from a given object.protected intcalcHashCode()Compute the hashcode.booleanequals(java.lang.Object obj)Test for equality.- 
Methods inherited from class jadex.rules.state.OAVAttributeTypegetDefaultValue, getIndexAttribute, getMultiplicity, getName, getObjectType, getType, hashCode, toString
 
- 
 
- 
- 
- 
Field Detail- 
propdescprotected PropertyDescriptor propdesc The property descriptor.
 - 
propreadmethodprotected static volatile java.lang.reflect.Method propreadmethod The property object read method.
 
- 
 - 
Constructor Detail- 
OAVJavaAttributeTypepublic OAVJavaAttributeType(OAVObjectType otype, java.lang.String name, OAVObjectType type, java.lang.String mult, java.lang.Object def, PropertyDescriptor propdesc) Create a new OAV attribute type.- Parameters:
- 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.
 
 
- 
 - 
Method Detail- 
calcHashCodeprotected int calcHashCode() Compute the hashcode.- Overrides:
- calcHashCodein class- OAVAttributeType
- Returns:
- The hashcode.
 
 - 
equalspublic boolean equals(java.lang.Object obj) Test for equality.- Overrides:
- equalsin class- OAVAttributeType
- Returns:
- True, if equal.
 
 - 
accessPropertypublic java.lang.Object accessProperty(java.lang.Object object) Get the attribute value from a given object.- Parameters:
- object- The object.
- Returns:
- The value.
 
 
- 
 
-