DocumentProperty
Inheritance: java.lang.Object
public class DocumentProperty
Represents a custom or built-in document property.
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getName() | Returns the name of the property. |
| getSource() | The linked content source. |
| getValue() | the value of the property. |
| hashCode() | |
| isGeneratedName() | Returns true if this property does not have a name in the OLE2 storage and a unique name was generated only for the public API. |
| isLinkedToContent() | Indicates whether this property is linked to content |
| notify() | |
| notifyAll() | |
| setValue(Object value) | For the description of this property, please see getValue() |
| toBool() | Returns the property value as bool. |
| toDateTime() | Returns the property value as DateTime in local timezone. |
| toDouble() | Returns the property value as double. |
| toInt() | Returns the property value as integer. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName()
public String getName()
Returns the name of the property.
Returns: java.lang.String
getSource()
public String getSource()
The linked content source.
Returns: java.lang.String
getValue()
public Object getValue()
the value of the property.
Returns: java.lang.Object
hashCode()
public native int hashCode()
Returns: int
isGeneratedName()
public boolean isGeneratedName()
Returns true if this property does not have a name in the OLE2 storage and a unique name was generated only for the public API.
Returns: boolean
isLinkedToContent()
public boolean isLinkedToContent()
Indicates whether this property is linked to content
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setValue(Object value)
public void setValue(Object value)
For the description of this property, please see getValue()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Object |
toBool()
public boolean toBool()
Returns the property value as bool.
Throws an exception if the property type is not PropertyType.Boolean.
Returns: boolean
toDateTime()
public DateTime toDateTime()
Returns the property value as DateTime in local timezone.
Throws an exception if the property type is not PropertyType.Date.
Returns: DateTime
toDouble()
public double toDouble()
Returns the property value as double. Throws an exception if the property type is not PropertyType.Float.
Returns: double
toInt()
public int toInt()
Returns the property value as integer. Throws an exception if the property type is not PropertyType.Number.
Returns: int
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |