|
| Type (QoreObject obj) throws Throwable |
| creates the object as a wrapper for the Qore object
|
|
| Type (String typestr) throws Throwable |
| Creates the type from the given string. More...
|
|
String | getName () throws Throwable |
| returns the type's name More...
|
|
boolean | isEqual (Type type) throws Throwable |
| Returns True if the Type object passed as an argument is equal to the current object; False if not. More...
|
|
boolean | isOutputCompatible (Type type) throws Throwable |
| Returns True if the output of the Type object passed as an argument is compatible with the return type if the current Type. More...
|
|
boolean | isCompatible (Type type) throws Throwable |
| Returns True if the argument type is compatible with the current type (inputs and outputs) More...
|
|
boolean | isAssignableFrom (Type type) throws Throwable |
| Returns True if the output of the Type object passed as an argument is compatible with the input type if the current Type. More...
|
|
Object | acceptsValue (Object value) throws Throwable |
| Returns the value after any conversions by the type. More...
|
|
int | isAssignableFrom (Object value) throws Throwable |
| Returns True if the Type object can be assigned from the value given as an argument. More...
|
|
int | getBaseTypeCode () throws Throwable |
| Returns the base type code for the type or Qore::NT_ALL for those that don't have types. More...
|
|
HashMap< String, Boolean > | getAcceptTypeHash () throws Throwable |
| Returns a hash of types accepted by this type. More...
|
|
HashMap< String, Boolean > | getReturnTypeHash () throws Throwable |
| Returns a hash of types returned by this type. More...
|
|
boolean | canConvertToScalar () throws Throwable |
| Returns True if values of this type can be converted to a scalar value. More...
|
|
boolean | hasDefaultValue () throws Throwable |
| Returns True if this type has a default value. More...
|
|
Object | getDefaultValue () throws Throwable |
| Returns the default value for the type or nothing if the type has no default value. More...
|
|
boolean | isOrNothingType () throws Throwable |
| Returns true if the type accepts and returns nothing in addition to other values. More...
|
|
Type | getBaseType () throws Throwable |
| Returns the base type for the current type; if the type is already a base type (i.e. not an "or nothing" type), then the same type is returned. More...
|
|
Type | getOrNothingType () throws Throwable |
| Returns the "or nothing" type for the current type; if the type is already an "or nothing" type (i.e. it already accepts nothing), then the same type is returned. More...
|
|
Type | getElementType () throws Throwable |
| Returns the element type for complex list and hash types, if any, otherwise returns nothing. More...
|
|
boolean | isTypedHash () throws Throwable |
| Returns true if the type is a TypedHash type, false if not. More...
|
|
boolean | hasType () throws Throwable |
| Returns true if the type is not a wildcard type; i.e. has type restrictions. More...
|
|
| QoreObjectWrapper (QoreObject obj) |
| creates the wrapper object with the Qore object
|
|
void | release () |
| releases the Qore object; do not call any further methods on the object after this call
|
|
QoreObject | getQoreObject () |
| returns the Qore object
|
|
String | className () |
| returns the class name for the Qore object
|
|
boolean | instanceOf (String class_name) |
| returns true if the object is an instance of the given class
|
|
Java wrapper for the Qore::Reflection::Type class in Qore.
- Note
- Loads and initializes the Qore library, the jni module, and the reflection module in static initialization if necessary