null it
will be maintained in the section's dictionary.
| Modifier and Type | Field and Description |
|---|---|
| private String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CustomProperty(final Property
the property to copy property)Creates a |
| public | CustomProperty(final Property
This property's attributes are copied to the new custom
property. property, final String The new custom property's name. name)Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides org. Compares two properties. |
| public boolean | Returns: true if both custom properties are equal, else
false.The custom property to compare with. o)Compares two custom properties for equality. |
| public String | |
| public int | hashCode()
Overrides org. Returns a hash code value for this object. |
| public void |
| name | back to summary |
|---|---|
| private String name | |
| CustomProperty | back to summary |
|---|---|
| public CustomProperty() Creates an empty | |
| CustomProperty | back to summary |
|---|---|
| public CustomProperty(final Property property) Creates a
| |
| CustomProperty | back to summary |
|---|---|
| public CustomProperty(final Property property, final String name) Creates a | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides org. Doc from org. Compares two properties. Please beware that a property with ID == 0 is a special case: It does not have a type, and its value is the section's dictionary. Another special case are strings: Two properties may have the different types Variant.VT_LPSTR and Variant.VT_LPWSTR;
| |
| equalsContents | back to summary |
|---|---|
| public boolean equalsContents(final Object o) Compares two custom properties for equality. The method returns
| |
| getName | back to summary |
|---|---|
| public String getName() Gets the property's name.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setName | back to summary |
|---|---|
| public void setName(final String name) Sets the property's name.
| |