Package jadex.rules.state
Class OAVJavaType
- java.lang.Object
- 
- jadex.rules.state.OAVObjectType
- 
- jadex.rules.state.OAVJavaType
 
 
- 
 public class OAVJavaType extends OAVObjectType A java type that
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.ClassclazzThe java class.static OAVJavaTypejava_boolean_typeThe java boolean type.static OAVJavaTypejava_class_typeThe java class type.static OAVJavaTypejava_collection_typeThe java collection type.static OAVJavaTypejava_double_typeThe java double type.static OAVJavaTypejava_exception_typeThe java exception type.static OAVJavaTypejava_float_typeThe java float type.static OAVJavaTypejava_integer_typeThe java integer type.static OAVJavaTypejava_long_typeThe java long type.static OAVJavaTypejava_object_typeThe java object type.static OAVJavaTypejava_string_typeThe java string type.static OAVTypeModeljava_type_modelThe java type model.protected java.lang.StringkindThe kind of type (value, object, bean).static java.lang.StringKIND_BEANThe bean kind (for java beans supporting property changes).static java.lang.StringKIND_OBJECTThe object kind (for normal java objects).static java.lang.StringKIND_VALUEThe value kind (for immutable java objects).protected java.util.MappropertiesAttributes for bean properties.- 
Fields inherited from class jadex.rules.state.OAVObjectTypeattributes, name, supertype, tmodel
 
- 
 - 
Constructor SummaryConstructors Constructor Description OAVJavaType(java.lang.Class clazz, java.lang.String kind, OAVTypeModel tmodel)Create a new OAV object type.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OAVAttributeTypegetAttributeType(java.lang.String attribute)Get an attribute type description.java.lang.ClassgetClazz()Get the Java class of the type.java.util.CollectiongetDeclaredAttributeTypes()Get the declared attribute types (i.e.java.lang.StringgetKind()Get the kind (i.e.booleanisSubtype(OAVObjectType type)Test if this object is same type or subtype of this type.- 
Methods inherited from class jadex.rules.state.OAVObjectTypeaddAttributeType, createAttributeType, createAttributeType, createAttributeType, createAttributeType, equals, getAttributeType0, getDeclaredAttributeType0, getName, getSupertype, getTypeModel, hashCode, toString
 
- 
 
- 
- 
- 
Field Detail- 
KIND_VALUEpublic static final java.lang.String KIND_VALUE The value kind (for immutable java objects).- See Also:
- Constant Field Values
 
 - 
KIND_OBJECTpublic static final java.lang.String KIND_OBJECT The object kind (for normal java objects).- See Also:
- Constant Field Values
 
 - 
KIND_BEANpublic static final java.lang.String KIND_BEAN The bean kind (for java beans supporting property changes).- See Also:
- Constant Field Values
 
 - 
java_type_modelpublic static final OAVTypeModel java_type_model The java type model.
 - 
java_object_typepublic static final OAVJavaType java_object_type The java object type.
 - 
java_class_typepublic static final OAVJavaType java_class_type The java class type.
 - 
java_exception_typepublic static final OAVJavaType java_exception_type The java exception type.
 - 
java_string_typepublic static final OAVJavaType java_string_type The java string type.
 - 
java_boolean_typepublic static final OAVJavaType java_boolean_type The java boolean type.
 - 
java_integer_typepublic static final OAVJavaType java_integer_type The java integer type.
 - 
java_long_typepublic static final OAVJavaType java_long_type The java long type.
 - 
java_double_typepublic static final OAVJavaType java_double_type The java double type.
 - 
java_float_typepublic static final OAVJavaType java_float_type The java float type.
 - 
java_collection_typepublic static final OAVJavaType java_collection_type The java collection type.
 - 
clazzprotected java.lang.Class clazz The java class.
 - 
kindprotected java.lang.String kind The kind of type (value, object, bean).
 - 
propertiesprotected java.util.Map properties Attributes for bean properties.
 
- 
 - 
Constructor Detail- 
OAVJavaTypepublic OAVJavaType(java.lang.Class clazz, java.lang.String kind, OAVTypeModel tmodel)Create a new OAV object type.- Parameters:
- name- The name of the OAV object type.
- model- The type model.
 
 
- 
 - 
Method Detail- 
isSubtypepublic boolean isSubtype(OAVObjectType type) Test if this object is same type or subtype of this type.- Overrides:
- isSubtypein class- OAVObjectType
- Parameters:
- object- The object to test.
- Returns:
- True, if object is same type or subtype.
 
 - 
getClazzpublic java.lang.Class getClazz() Get the Java class of the type.
 - 
getKindpublic java.lang.String getKind() Get the kind (i.e. value, object, or bean) of the type.
 - 
getAttributeTypepublic OAVAttributeType getAttributeType(java.lang.String attribute) Get an attribute type description.- Overrides:
- getAttributeTypein class- OAVObjectType
- Parameters:
- attribute- The name of the attribute.
- Returns:
- The OAV attribute type.
 
 - 
getDeclaredAttributeTypespublic java.util.Collection getDeclaredAttributeTypes() Get the declared attribute types (i.e. not those of super types).- Overrides:
- getDeclaredAttributeTypesin class- OAVObjectType
 
 
- 
 
-