protected final class PropertyDefinition.StringValue extends Object implements javax.jcr.Value
| Modifier | Constructor and Description |
|---|---|
protected |
StringValue(String value) |
| Modifier and Type | Method and Description |
|---|---|
javax.jcr.Binary |
getBinary() |
boolean |
getBoolean() |
Calendar |
getDate() |
Calendar |
getDateInUtc() |
BigDecimal |
getDecimal() |
double |
getDouble() |
long |
getLong() |
InputStream |
getStream() |
String |
getString() |
int |
getType() |
String |
toString() |
protected StringValue(String value)
public boolean getBoolean()
getBoolean in interface javax.jcr.Valuepublic Calendar getDate() throws javax.jcr.ValueFormatException
getDate in interface javax.jcr.Valuejavax.jcr.ValueFormatExceptionpublic Calendar getDateInUtc() throws javax.jcr.ValueFormatException
javax.jcr.ValueFormatExceptionpublic BigDecimal getDecimal() throws javax.jcr.ValueFormatException
getDecimal in interface javax.jcr.Valuejavax.jcr.ValueFormatExceptionpublic double getDouble() throws javax.jcr.ValueFormatException
getDouble in interface javax.jcr.Valuejavax.jcr.ValueFormatExceptionpublic long getLong() throws javax.jcr.ValueFormatException
getLong in interface javax.jcr.Valuejavax.jcr.ValueFormatExceptionpublic InputStream getStream() throws javax.jcr.RepositoryException
getStream in interface javax.jcr.Valuejavax.jcr.RepositoryExceptionpublic int getType()
getType in interface javax.jcr.Valuepublic javax.jcr.Binary getBinary()
getBinary in interface javax.jcr.ValueCopyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.