Package | Description |
---|---|
javax.jcr |
Provides interfaces and classes for the Content Repository for Java Technology.
|
javax.jcr.nodetype |
Provides interfaces and classes for content repository node type functionality.
|
javax.jcr.query |
Provides interfaces and classes for content repository searching functionality.
|
Modifier and Type | Method and Description |
---|---|
Value |
ValueFactory.createValue(boolean value)
|
Value |
ValueFactory.createValue(Calendar value)
|
Value |
ValueFactory.createValue(double value)
|
Value |
ValueFactory.createValue(InputStream value)
Returns a
Value object of PropertyType.BINARY
with a value consisting of the content of the specified InputStream . |
Value |
ValueFactory.createValue(long value)
|
Value |
ValueFactory.createValue(Node value)
|
Value |
ValueFactory.createValue(String value)
|
Value |
ValueFactory.createValue(String value,
int type)
|
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.
|
Modifier and Type | Method and Description |
---|---|
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(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. |
Modifier and Type | Method and Description |
---|---|
Value[] |
PropertyDefinition.getDefaultValues()
Gets the default value(s) of the property.
|
Modifier and Type | Method and Description |
---|---|
boolean |
NodeType.canSetProperty(String propertyName,
Value value)
Returns
true if setting propertyName to
value is allowed by this node type. |
boolean |
NodeType.canSetProperty(String propertyName,
Value[] values)
Returns
true if setting propertyName to
values is allowed by this node type. |
Modifier and Type | Method and Description |
---|---|
Value |
Row.getValue(String propertyName)
Returns the value of the indicated property in this
Row . |
Value[] |
Row.getValues()
Returns an array of all the values in the same order as the
column names returned by
QueryResult.getColumnNames() . |
Copyright © 2004-2013 Day Management AG. All Rights Reserved.