org.apache.jackrabbit.jcr2spi
Class PropertyImpl
java.lang.Object
org.apache.jackrabbit.jcr2spi.ItemImpl
org.apache.jackrabbit.jcr2spi.PropertyImpl
- All Implemented Interfaces:
- Item, Property, ItemStateLifeCycleListener
public class PropertyImpl
- extends ItemImpl
- implements Property
PropertyImpl...
| Methods inherited from class org.apache.jackrabbit.jcr2spi.ItemImpl |
getAncestor, getDepth, getItemManager, getItemState, getParent, getPath, getSession, checkIsWritable, checkStatus, isModified, isNew, isSame, isWritable, refresh, remove, save, statusChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.jcr.Item |
getAncestor, getDepth, getParent, getPath, getSession, isModified, isNew, isSame, refresh, remove, save |
UNDEFINED_PROPERTY_LENGTH
public static final int UNDEFINED_PROPERTY_LENGTH
- See Also:
- Constant Field Values
PropertyImpl
public PropertyImpl(SessionImpl session,
PropertyState state,
ItemLifeCycleListener[] listeners)
getName
public String getName()
throws RepositoryException
- Specified by:
getName in interface Item- Specified by:
getName in class ItemImpl
- Throws:
RepositoryException- See Also:
Item.getName()
accept
public void accept(ItemVisitor visitor)
throws RepositoryException
- Implementation of
Item.accept(javax.jcr.ItemVisitor) for property.
- Specified by:
accept in interface Item- Specified by:
accept in class ItemImpl
- Parameters:
visitor -
- Throws:
RepositoryException- See Also:
Item.accept(javax.jcr.ItemVisitor)
isNode
public boolean isNode()
- Returns false
- Specified by:
isNode in interface Item- Specified by:
isNode in class ItemImpl
- Returns:
- false
- See Also:
Item.isNode()
setValue
public void setValue(Value value)
throws ValueFormatException,
VersionException,
LockException,
RepositoryException
- Specified by:
setValue in interface Property
- Throws:
ValueFormatException
VersionException
LockException
RepositoryException- See Also:
Property.setValue(javax.jcr.Value)
setValue
public void setValue(Value[] values)
throws ValueFormatException,
VersionException,
LockException,
RepositoryException
- Specified by:
setValue in interface Property
- Throws:
ValueFormatException
VersionException
LockException
RepositoryException- See Also:
Property.setValue(javax.jcr.Value[])
setValue
public void setValue(String value)
throws ValueFormatException,
VersionException,
LockException,
ConstraintViolationException,
RepositoryException
- Specified by:
setValue in interface Property
- Throws:
ValueFormatException
VersionException
LockException
ConstraintViolationException
RepositoryException- See Also:
Property.setValue(String)
setValue
public void setValue(String[] values)
throws ValueFormatException,
VersionException,
LockException,
RepositoryException
- Specified by:
setValue in interface Property
- Throws:
ValueFormatException
VersionException
LockException
RepositoryException- See Also:
Property.setValue(String[])
setValue
public void setValue(InputStream value)
throws ValueFormatException,
VersionException,
LockException,
RepositoryException
- Specified by:
setValue in interface Property
- Throws:
ValueFormatException
VersionException
LockException
RepositoryException- See Also:
Property.setValue(InputStream)
setValue
public void setValue(long value)
throws ValueFormatException,
VersionException,
LockException,
RepositoryException
- Specified by:
setValue in interface Property
- Throws:
ValueFormatException
VersionException
LockException
RepositoryException- See Also:
Property.setValue(long)
setValue
public void setValue(double value)
throws ValueFormatException,
VersionException,
LockException,
RepositoryException
- Specified by:
setValue in interface Property
- Throws:
ValueFormatException
VersionException
LockException
RepositoryException- See Also:
Property.setValue(double)
setValue
public void setValue(Calendar value)
throws ValueFormatException,
VersionException,
LockException,
RepositoryException
- Specified by:
setValue in interface Property
- Throws:
ValueFormatException
VersionException
LockException
RepositoryException- See Also:
Property.setValue(Calendar)
setValue
public void setValue(boolean value)
throws ValueFormatException,
VersionException,
LockException,
ConstraintViolationException,
RepositoryException
- Specified by:
setValue in interface Property
- Throws:
ValueFormatException
VersionException
LockException
ConstraintViolationException
RepositoryException- See Also:
Property.setValue(boolean)
setValue
public void setValue(Node value)
throws ValueFormatException,
VersionException,
LockException,
RepositoryException
- Specified by:
setValue in interface Property
- Throws:
ValueFormatException
VersionException
LockException
RepositoryException- See Also:
Property.setValue(Node)
getValue
public Value getValue()
throws ValueFormatException,
RepositoryException
- Specified by:
getValue in interface Property
- Throws:
ValueFormatException
RepositoryException- See Also:
Property.getValue()
getValues
public Value[] getValues()
throws ValueFormatException,
RepositoryException
- Specified by:
getValues in interface Property
- Throws:
ValueFormatException
RepositoryException- See Also:
Property.getValues()
getString
public String getString()
throws ValueFormatException,
RepositoryException
- Specified by:
getString in interface Property
- Throws:
ValueFormatException
RepositoryException- See Also:
Property.getString()
getStream
public InputStream getStream()
throws ValueFormatException,
RepositoryException
- Specified by:
getStream in interface Property
- Throws:
ValueFormatException
RepositoryException- See Also:
Property.getStream()
getLong
public long getLong()
throws ValueFormatException,
RepositoryException
- Specified by:
getLong in interface Property
- Throws:
ValueFormatException
RepositoryException- See Also:
Property.getLong()
getDouble
public double getDouble()
throws ValueFormatException,
RepositoryException
- Specified by:
getDouble in interface Property
- Throws:
ValueFormatException
RepositoryException- See Also:
Property.getDouble()
getDate
public Calendar getDate()
throws ValueFormatException,
RepositoryException
- Specified by:
getDate in interface Property
- Throws:
ValueFormatException
RepositoryException- See Also:
Property.getDate()
getBoolean
public boolean getBoolean()
throws ValueFormatException,
RepositoryException
- Specified by:
getBoolean in interface Property
- Throws:
ValueFormatException
RepositoryException- See Also:
Property.getBoolean()
getNode
public Node getNode()
throws ValueFormatException,
RepositoryException
- Specified by:
getNode in interface Property
- Throws:
ValueFormatException
RepositoryException- See Also:
Property.getNode()
getLength
public long getLength()
throws ValueFormatException,
RepositoryException
- Specified by:
getLength in interface Property
- Throws:
ValueFormatException
RepositoryException- See Also:
Property.getLength()
getLengths
public long[] getLengths()
throws ValueFormatException,
RepositoryException
- Specified by:
getLengths in interface Property
- Throws:
ValueFormatException
RepositoryException- See Also:
Property.getLengths()
getDefinition
public PropertyDefinition getDefinition()
throws RepositoryException
- Specified by:
getDefinition in interface Property
- Throws:
RepositoryException- See Also:
Property.getDefinition()
getType
public int getType()
throws RepositoryException
- Specified by:
getType in interface Property
- Throws:
RepositoryException- See Also:
Property.getType()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.