Liking cljdoc? Tell your friends :D

org.soulspace.clj.java.beans

Functions for method-based reflective access to Java bean style objects.

Functions for method-based reflective access to Java bean style objects.
raw docstring

add-properties!clj

(add-properties! obj prop-map)

Adds the properties given in the map to the instance

Adds the properties given in the map to the instance
sourceraw docstring

add-property!clj

(add-property! obj property value)

Adds the value to the property collection.

Adds the value to the property collection.
sourceraw docstring

adder-methodclj

(adder-method cl property)
(adder-method cl property param-type)

Returns the add method for this multivalued property.

Returns the add method for this multivalued property.
sourceraw docstring

adder-methodsclj

(adder-methods cl property)

Returns a sequence of the adder methods for this property.

Returns a sequence of the adder methods for this property.
sourceraw docstring

adder?clj

(adder? method)
(adder? method property-name)

Returns true if the given method is a property adder method.

Returns true if the given method is a property adder method.
sourceraw docstring

boxingclj

source

compatible-type?clj

(compatible-type? expected actual)

Checks the compatibility of java types.

Checks the compatibility of java types.
sourceraw docstring

createclj

(create cl & args)

Creates an instance of the given class

Creates an instance of the given class
sourceraw docstring

create-beanclj

(create-bean bean-class set-props)
(create-bean bean-class set-props add-props)

Creates an instance of the given bean and initializes it with the given data.

Creates an instance of the given bean and initializes it with the given data.
sourceraw docstring

get-propertyclj

(get-property obj property)

Returns the value of this property.

Returns the value of this property.
sourceraw docstring

getter-methodclj

(getter-method cl property)

Returns the getter method for this property. Works for derived properties too.

Returns the getter method for this property. Works for derived properties too.
sourceraw docstring

getter?clj

(getter? method)
(getter? method property-name)

Returns true if the given method is a property getter method.

Returns true if the given method is a property getter method.
sourceraw docstring

has-add-method?clj

(has-add-method? cl property)
source

has-get-method?clj

(has-get-method? cl property)
source

has-remove-method?clj

(has-remove-method? cl property)
source

has-set-method?clj

(has-set-method? cl property)
source

init-properties!clj

(init-properties! obj set-props)
(init-properties! obj set-props add-props)
source

remove-properties!clj

(remove-properties! obj prop-map)

Removes the properties given in the map to the instance

Removes the properties given in the map to the instance
sourceraw docstring

remove-property!clj

(remove-property! obj property value)

Removes the value to the property collection.

Removes the value to the property collection.
sourceraw docstring

remover-methodclj

(remover-method cl property)
(remover-method cl property param-type)

Returns the remove method for this multivalued property.

Returns the remove method for this multivalued property.
sourceraw docstring

remover-methodsclj

(remover-methods cl property)

Returns a sequence of the remover methods for this property.

Returns a sequence of the remover methods for this property.
sourceraw docstring

remover?clj

(remover? method)
(remover? method property-name)

Returns true if the given method is a property remover method.

Returns true if the given method is a property remover method.
sourceraw docstring

serialize-xmlclj

(serialize-xml bean)
(serialize-xml filename bean)

Serializes a Java Bean as XML to the

Serializes a Java Bean as XML to the 
sourceraw docstring

set-properties!clj

(set-properties! obj prop-map)

Sets the properties given in the map to the instance

Sets the properties given in the map to the instance
sourceraw docstring

set-property!clj

(set-property! obj property value)

Sets the value of this property.

Sets the value of this property.
sourceraw docstring

setter-methodclj

(setter-method cl property)
(setter-method cl property param-type)

Returns the setter method for this property. Works for derived properties too.

Returns the setter method for this property. Works for derived properties too.
sourceraw docstring

setter-methodsclj

(setter-methods cl property)

Returns a sequence of the setter methods for this property.

Returns a sequence of the setter methods for this property.
sourceraw docstring

setter?clj

(setter? method)
(setter? method property-name)

Returns true if the given method is a property setter method.

Returns true if the given method is a property setter method.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close