DocumentCustomProperty Class
A custom document property.
Declaration
public final class DocumentCustomProperty extends Struct<DocumentCustomProperty> implements IEquatable<DocumentCustomProperty>
Remarks
The getCustomProperties() method returns a dictionary of DocumentCustomProperty objects.
Refer to the following help topic for additional information: Create Custom Document Properties.
Implements
Inherited Members
Inheritance
Constructors
DocumentCustomProperty() Constructor
Initializes a new instance of the DocumentCustomProperty class.
Declaration
public DocumentCustomProperty()
DocumentCustomProperty(BigDecimal value) Constructor
Initializes a new instance of the DocumentCustomProperty class with specified BigDecimal value.
Declaration
public DocumentCustomProperty(BigDecimal value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | BigDecimal | The property value. |
DocumentCustomProperty(boolean value) Constructor
Initializes a new instance of the DocumentCustomProperty class with specified Boolean value.
Declaration
public DocumentCustomProperty(boolean value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | boolean | The property value. |
DocumentCustomProperty(double value) Constructor
Initializes a new instance of the DocumentCustomProperty class with specified double value.
Declaration
public DocumentCustomProperty(double value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | The property value. |
DocumentCustomProperty(Instant value) Constructor
Initializes a new instance of the DocumentCustomProperty class with specified Instant value.
Declaration
public DocumentCustomProperty(Instant value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | Instant | The property value. |
DocumentCustomProperty(int value) Constructor
Initializes a new instance of the DocumentCustomProperty class with specified integer value.
Declaration
public DocumentCustomProperty(int value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | int | The property value. |
DocumentCustomProperty(String value) Constructor
Initializes a new instance of the DocumentCustomProperty class with specified string value.
Declaration
public DocumentCustomProperty(String value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | String | The property value. |
Methods
equals(DocumentCustomProperty value) Method
Determines whether the specified object is equal to the current DocumentCustomProperty object.
Declaration
public boolean equals(DocumentCustomProperty value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | DocumentCustomProperty |
An object to compare with the current |
Returns
| Type | Description |
|---|---|
| boolean |
|
equals(Object obj) Method
Determines whether the specified object is equal to the current DocumentCustomProperty object.
Declaration
public boolean equals(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | An object to compare with the current |
Returns
| Type | Description |
|---|---|
| boolean |
|
getType() Method
Returns the property type.
Declaration
public DocumentCustomPropertyValueType getType()
Returns
| Type | Description |
|---|---|
| DocumentCustomPropertyValueType | An enumeration value that indicates the property type. |
getValue() Method
Returns the property value.
Declaration
public Object getValue()
Returns
| Type | Description |
|---|---|
| Object | The property value. |
Remarks
The getValue() method returns the property value as an Object instance. Use the getType() method to determine the property type.
hashCode() Method
Returns a hash code for this DocumentCustomProperty object.
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int | The identification number. |
toBooleanValue() Method
Returns the property value as a Boolean value.
Declaration
public boolean toBooleanValue()
Returns
| Type | Description |
|---|---|
| boolean | The property value as |
toDateTimeValue() Method
Returns the property value as an Instant.
Declaration
public Instant toDateTimeValue()
Returns
| Type | Description |
|---|---|
| Instant | The property value as an |
toDecimalValue() Method
Returns the property value as a Decimal value.
Declaration
public BigDecimal toDecimalValue()
Returns
| Type | Description |
|---|---|
| BigDecimal | The property value as |
toDoubleValue() Method
Returns the property value as a Double value.
Declaration
public double toDoubleValue()
Returns
| Type | Description |
|---|---|
| double | The property value as |
toIntValue() Method
Returns the property value as a Int32 value.
Declaration
public int toIntValue()
Returns
| Type | Description |
|---|---|
| int | The property value as |
toStringValue() Method
Returns the property value as a String value.
Declaration
public String toStringValue()
Returns
| Type | Description |
|---|---|
| String | The property value as |