- TIBCO BusinessEvents®
- Standard
- Instance
- Reflection

# Instance.Reflection

## Description

Reflection method for Concept

## Functions

Name | Signature and Synopsis
--- | ---
`getAllProperties` | `Object[] getAllProperties(Concept instance)` This method returns all properties of a Concept Instance.
`getAllPropertyNames` | `String[] getAllPropertyNames(Concept instance)` This method returns all property names of a Concept Instance.
`getProperty` | `Object getProperty(Concept instance, String propertyName)` This method returns a property of a Concept Instance given the property name.
`getPropertyArrayLength` | `int getPropertyArrayLength(Concept instance, String name)` This method returns the length of a PropertyArray given the Concept instance and the property name. It returns -1 if the length can't be determined. e.g. no such propertyArray exception
`getPropertyArrayValue` | `Object getPropertyArrayValue(Concept instance, String name, int index)` Given the concept instance and property name, get the value of a PropertyArray at index to the value passed.
`isProperty` | `boolean isProperty(Object obj)` This method checks if an object is a Property object.
`isPropertyArray` | `boolean isPropertyArray(Object obj)` This method checks if an object is a PropertyArray object.
`isPropertyAtom` | `boolean isPropertyAtom(Object obj)` This method checks if an object is a PropertyAtom object.
`isPropertyBoolean` | `boolean isPropertyBoolean(Object obj)` This method checks if an object is a PropertyBoolean object.
`isPropertyConcept` | `boolean isPropertyConcept(Object obj)` This method checks if an object is a PropertyConcept object.
`isPropertyConceptReference` | `boolean isPropertyConceptReference(Object obj)` This method checks if an object is a PropertyConceptReference object.
`isPropertyContainedConcept` | `boolean isPropertyContainedConcept(Object obj)` This method checks if an object is a PropertyContainedConcept object.
`isPropertyDateTime` | `boolean isPropertyDateTime(Object obj)` This method checks if an object is a PropertyDateTime object.
`isPropertyDouble` | `boolean isPropertyDouble(Object obj)` This method checks if an object is a PropertyDouble object.
`isPropertyInt` | `boolean isPropertyInt(Object obj)` This method checks if an object is a PropertyInt object.
`isPropertyLong` | `boolean isPropertyLong(Object obj)` This method checks if an object is a PropertyLong object.
`isPropertyString` | `boolean isPropertyString(Object obj)` This method checks if an object is a PropertyString object.
`setPropertyArrayValue` | `boolean setPropertyArrayValue(Concept instance, String name, int index, Object value)` Given the concept instance and property name, set the value of a PropertyArray at index to the value passed.
`setPropertyAtomValue` | `boolean setPropertyAtomValue(Concept instance, String name, Object value)` Given the concept instance and property name, set the value of a PropertyAtom to the value passed.
`toObject` | `Object toObject(Property pa)` This method explicitly casts the property to an object. It returns the property object, not the value in the property.