Copyright© 2008-2022 Sitevision AB, all rights reserved.
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)
|
Binary |
Property.getBinary()
Returns a
Binary representation of the value of this
property. |
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. |
BigDecimal |
Value.getDecimal()
Returns a
BigDecimal representation of this value. |
BigDecimal |
Property.getDecimal()
Returns a
BigDecimal 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 where each is individually calculated as described in
Property.getLength() . |
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 ,
WEAKREFERENCE or PATH (or convertible to one of
these types) this method returns the Node to which this
property refers. |
Property |
Property.getProperty()
If this property is of type
PATH (or convertible to this
type) this method returns the Property to which this
property refers. |
InputStream |
Property.getStream()
Deprecated.
As of JCR 2.0,
Property.getBinary() should be used instead. |
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
Value object. |
Value[] |
Property.getValues()
Returns an array of all the values of this property.
|
Property |
Node.setProperty(String name,
BigDecimal value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a BigDecimal and, if possible, the type assigned to
the property is DECIMAL , otherwise a best-effort conversion
is attempted. |
Property |
Node.setProperty(String name,
Binary value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a Binary and, if possible, the type assigned to the
property is BINARY , otherwise a best-effort conversion is
attempted. |
Property |
Node.setProperty(String name,
boolean value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a boolean and, if possible, the type assigned
to the property is BOOLEAN , otherwise a best-effort
conversion is attempted. |
Property |
Node.setProperty(String name,
Calendar value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a Calendar and, if possible, the type assigned to
the property is DATE , otherwise a best-effort conversion is
attempted. |
Property |
Node.setProperty(String name,
double value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a double and, if possible, the type assigned to
the property is DOUBLE , otherwise a best-effort conversion
is attempted. |
Property |
Node.setProperty(String name,
InputStream value)
Deprecated.
As of JCR 2.0,
Node.setProperty(String, Binary) should be
used instead. |
Property |
Node.setProperty(String name,
long value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a long and, if possible, the type assigned to
the property is LONG , otherwise a best-effort conversion is
attempted. |
Property |
Node.setProperty(String name,
Node value)
The behavior of this method is identical to that of
Node.setProperty(String name, Value value) except that the value is
specified as a Node and, if possible, the type assigned to the
property is REFERENCE or WEAKREFERENCE ,
otherwise a best-effort conversion is attempted. |
Property |
Node.setProperty(String name,
String value)
Sets the specified single-value 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 single-value property of this node called
name to
the specified value . |
Property |
Node.setProperty(String name,
Value[] values)
Sets the multi-value property of this node called
name to
the specified array of values. |
Property |
Node.setProperty(String name,
Value[] values,
int type)
Sets the multi-value property of this node called
name to
the specified array of values. |
Property |
Node.setProperty(String name,
Value value,
int type)
Sets the single-value property of this node called
name to
the specified value and the specified type . |
void |
Property.setValue(BigDecimal value)
Sets the value of this property to
value . |
void |
Property.setValue(Binary value)
Sets the value of this property to
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)
Deprecated.
As of JCR 2.0,
Property.setValue(Binary) should be used
instead. |
void |
Property.setValue(long value)
Sets the value of this property to
value . |
void |
Property.setValue(Node value)
Sets this
REFERENCE or WEAKREFERNCE 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. |
Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.