Package | Description |
---|---|
javax.jcr |
Provides interfaces and classes for the Content Repository for Java Technology.
|
Modifier and Type | Method and Description |
---|---|
Value |
ValueFactory.createValue(String value,
int type)
|
boolean |
Value.getBoolean()
Returns a
Boolean representation of this value. |
boolean |
Property.getBoolean()
Returns a
boolean representation of the value of this
property. |
Calendar |
Value.getDate()
Returns a
Calendar representation of this value. |
Calendar |
Property.getDate()
Returns a
Calendar representation of the value of this
property. |
double |
Value.getDouble()
Returns a
double representation of this value. |
double |
Property.getDouble()
Returns a
double representation of the value of this
property. |
long |
Property.getLength()
Returns the length of the value of this property.
|
long[] |
Property.getLengths()
Returns an array holding the lengths of the values of this (multi-value) property in bytes
if the values are
PropertyType.BINARY , otherwise it returns the number of
characters needed to display the value in its string form. |
long |
Value.getLong()
Returns a
long representation of this value. |
long |
Property.getLong()
Returns a
long representation of the value of this
property. |
Node |
Property.getNode()
If this property is of type
REFERENCE
this method returns the node to which this property refers. |
InputStream |
Property.getStream()
Returns an
InputStream representation of the value of this
property. |
String |
Value.getString()
Returns a
String representation of this value. |
String |
Property.getString()
Returns a
String representation of the value of this
property. |
Value |
Property.getValue()
Returns the value of this property as a generic
Value object. |
Value[] |
Property.getValues()
Returns an array of all the values of this property.
|
Property |
Node.setProperty(String name,
boolean value)
Sets the specified property to the specified value.
|
Property |
Node.setProperty(String name,
Calendar value)
Sets the specified property to the specified value.
|
Property |
Node.setProperty(String name,
double value)
Sets the specified property to the specified value.
|
Property |
Node.setProperty(String name,
InputStream value)
Sets the specified property to the specified value.
|
Property |
Node.setProperty(String name,
long value)
Sets the specified property to the specified value.
|
Property |
Node.setProperty(String name,
Node value)
Sets the specified (
REFERENCE )property
to refer to the specified Node . |
Property |
Node.setProperty(String name,
String value)
Sets the specified property to the specified value.
|
Property |
Node.setProperty(String name,
String[] values)
Sets the specified property to the specified array of values.
|
Property |
Node.setProperty(String name,
String[] values,
int type)
Sets the specified property to the specified array of values and to the specified type.
|
Property |
Node.setProperty(String name,
String value,
int type)
Sets the specified (single-value) property to the specified value.
|
Property |
Node.setProperty(String name,
Value value)
Sets the specified (single-value) property of this node to the specified
value . |
Property |
Node.setProperty(String name,
Value[] values)
Sets the specified (multi-value) property to the specified array of values.
|
Property |
Node.setProperty(String name,
Value[] values,
int type)
Sets the specified (multi-value) property to the specified array of values.
|
Property |
Node.setProperty(String name,
Value value,
int type)
Sets the specified (single-value) property to the specified value.
|
void |
Property.setValue(boolean value)
Sets the value of this property to
value . |
void |
Property.setValue(Calendar value)
Sets the value of this property to
value . |
void |
Property.setValue(double value)
Sets the value of this property to
value . |
void |
Property.setValue(InputStream value)
Sets the value of this property to
value . |
void |
Property.setValue(long value)
Sets the value of this property to
value . |
void |
Property.setValue(Node value)
Sets this REFERENCE property to refer to the specified node.
|
void |
Property.setValue(String value)
Sets the value of this property to
value . |
void |
Property.setValue(String[] values)
Sets the value of this property to the
values array. |
void |
Property.setValue(Value value)
Sets the value of this property to
value . |
void |
Property.setValue(Value[] values)
Sets the value of this property to the
values array. |
Copyright © 2004–2013 Day Management AG. All rights reserved.