public class PropertyDBObject
extends java.lang.Object
| Constructor and Description |
|---|
PropertyDBObject(Node node,
java.lang.String name,
int multiple) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ItemVisitor iv) |
Item |
getAncestor(int depth) |
Binary |
getBinary() |
boolean |
getBoolean() |
java.util.Calendar |
getDate() |
java.math.BigDecimal |
getDecimal() |
PropertyDefinition |
getDefinition() |
int |
getDepth() |
double |
getDouble() |
long |
getLength() |
long[] |
getLengths() |
long |
getLong() |
java.lang.String |
getName() |
Node |
getNode() |
Node |
getParent() |
java.lang.String |
getPath() |
Property |
getProperty() |
Session |
getSession() |
java.io.InputStream |
getStream() |
java.lang.String |
getString() |
int |
getType() |
Value |
getValue() |
Value[] |
getValues() |
boolean |
isModified() |
boolean |
isMultiple() |
boolean |
isNew() |
boolean |
isNode() |
boolean |
isSame(Item item) |
void |
refresh(boolean keepChanges) |
void |
remove() |
void |
save() |
void |
setValue(Binary binary) |
void |
setValue(Node node) |
void |
setValue(Value value) |
void |
setValue(Value[] values) |
java.lang.String |
toString() |
public PropertyDBObject(Node node,
java.lang.String name,
int multiple)
@CheckReturnValue @Nonnull public java.lang.String toString()
toString in class java.lang.Objectpublic void setValue(Value value)
throws ValueFormatException,
VersionException,
LockException,
ConstraintViolationException,
RepositoryException
ValueFormatExceptionVersionExceptionLockExceptionConstraintViolationExceptionRepositoryExceptionpublic void setValue(Value[] values)
throws ValueFormatException,
VersionException,
LockException,
ConstraintViolationException,
RepositoryException
ValueFormatExceptionVersionExceptionLockExceptionConstraintViolationExceptionRepositoryExceptionpublic void setValue(Binary binary)
throws ValueFormatException,
VersionException,
LockException,
ConstraintViolationException,
RepositoryException
ValueFormatExceptionVersionExceptionLockExceptionConstraintViolationExceptionRepositoryExceptionpublic void setValue(Node node)
throws ValueFormatException,
VersionException,
LockException,
ConstraintViolationException,
RepositoryException
ValueFormatExceptionVersionExceptionLockExceptionConstraintViolationExceptionRepositoryExceptionpublic Value getValue()
throws ValueFormatException,
RepositoryException
ValueFormatExceptionRepositoryExceptionpublic Value[] getValues()
throws ValueFormatException,
RepositoryException
ValueFormatExceptionRepositoryExceptionpublic java.lang.String getString()
throws ValueFormatException,
RepositoryException
ValueFormatExceptionRepositoryExceptionpublic java.io.InputStream getStream()
throws ValueFormatException,
RepositoryException
ValueFormatExceptionRepositoryExceptionpublic Binary getBinary()
throws ValueFormatException,
RepositoryException
ValueFormatExceptionRepositoryExceptionpublic long getLong()
throws ValueFormatException,
RepositoryException
ValueFormatExceptionRepositoryExceptionpublic double getDouble()
throws ValueFormatException,
RepositoryException
ValueFormatExceptionRepositoryExceptionpublic java.math.BigDecimal getDecimal()
throws ValueFormatException,
RepositoryException
ValueFormatExceptionRepositoryExceptionpublic java.util.Calendar getDate()
throws ValueFormatException,
RepositoryException
ValueFormatExceptionRepositoryExceptionpublic boolean getBoolean()
throws ValueFormatException,
RepositoryException
ValueFormatExceptionRepositoryExceptionpublic Node getNode()
throws ItemNotFoundException,
ValueFormatException,
RepositoryException
ItemNotFoundExceptionValueFormatExceptionRepositoryExceptionpublic Property getProperty()
throws ItemNotFoundException,
ValueFormatException,
RepositoryException
ItemNotFoundExceptionValueFormatExceptionRepositoryExceptionpublic long getLength()
throws ValueFormatException,
RepositoryException
ValueFormatExceptionRepositoryExceptionpublic long[] getLengths()
throws ValueFormatException,
RepositoryException
ValueFormatExceptionRepositoryExceptionpublic PropertyDefinition getDefinition()
throws RepositoryException
RepositoryExceptionpublic int getType()
throws RepositoryException
RepositoryExceptionpublic boolean isMultiple()
throws RepositoryException
RepositoryExceptionpublic java.lang.String getPath()
throws RepositoryException
RepositoryExceptionpublic java.lang.String getName()
throws RepositoryException
RepositoryExceptionpublic Item getAncestor(int depth)
throws ItemNotFoundException,
AccessDeniedException,
RepositoryException
ItemNotFoundExceptionAccessDeniedExceptionRepositoryExceptionpublic Node getParent()
throws ItemNotFoundException,
AccessDeniedException,
RepositoryException
ItemNotFoundExceptionAccessDeniedExceptionRepositoryExceptionpublic int getDepth()
throws RepositoryException
RepositoryExceptionpublic Session getSession()
throws RepositoryException
RepositoryExceptionpublic boolean isNode()
public boolean isNew()
public boolean isModified()
public boolean isSame(Item item)
throws RepositoryException
RepositoryExceptionpublic void accept(ItemVisitor iv)
throws RepositoryException
RepositoryExceptionpublic void save()
throws AccessDeniedException,
ItemExistsException,
ConstraintViolationException,
InvalidItemStateException,
ReferentialIntegrityException,
VersionException,
LockException,
NoSuchNodeTypeException,
RepositoryException
AccessDeniedExceptionItemExistsExceptionConstraintViolationExceptionInvalidItemStateExceptionReferentialIntegrityExceptionVersionExceptionLockExceptionNoSuchNodeTypeExceptionRepositoryExceptionpublic void refresh(boolean keepChanges)
throws InvalidItemStateException,
RepositoryException
InvalidItemStateExceptionRepositoryExceptionpublic void remove()
throws VersionException,
LockException,
ConstraintViolationException,
AccessDeniedException,
RepositoryException
VersionExceptionLockExceptionConstraintViolationExceptionAccessDeniedExceptionRepositoryExceptionstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.