public class JCRProperty extends Object implements JCRImapConstants, Persistent, Property
Property| Modifier and Type | Field and Description |
|---|---|
static String |
LOCALNAME_PROPERTY |
static String |
NAMESPACE_PROPERTY |
static String |
ORDER_PROPERTY |
static String |
VALUE_PROPERTY |
NODE_DELIMITER| Constructor and Description |
|---|
JCRProperty(javax.jcr.Node node,
org.slf4j.Logger logger) |
JCRProperty(Property property,
org.slf4j.Logger logger) |
JCRProperty(String namespace,
String localName,
String value,
org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getLocalName()
Gets the local part of the name of the property.
|
String |
getNamespace()
Gets the namespace for the name.
|
javax.jcr.Node |
getNode()
Return underlying Node
|
int |
getOrder() |
String |
getValue()
Gets the value for this property.
|
int |
hashCode() |
boolean |
isPersistent()
Return if the object is persistent
|
void |
merge(javax.jcr.Node node)
Merge the object with the node
|
String |
toString()
Constructs a
String with all attributes
in name = value format. |
public static final String NAMESPACE_PROPERTY
public static final String LOCALNAME_PROPERTY
public static final String VALUE_PROPERTY
public static final String ORDER_PROPERTY
public JCRProperty(javax.jcr.Node node,
org.slf4j.Logger logger)
public JCRProperty(String namespace, String localName, String value, org.slf4j.Logger logger)
public JCRProperty(Property property, org.slf4j.Logger logger)
public int getOrder()
public javax.jcr.Node getNode()
PersistentgetNode in interface Persistentpublic String getLocalName()
PropertygetLocalName in interface Propertypublic String getNamespace()
PropertygetNamespace in interface Propertypublic String getValue()
Propertypublic boolean isPersistent()
PersistentisPersistent in interface Persistenttrue if object is persistent else falsepublic void merge(javax.jcr.Node node)
throws javax.jcr.RepositoryException
Persistentmerge in interface Persistentjavax.jcr.RepositoryExceptionCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.