PropertyAccessLevels
Leave feedback
On this page
Inheritance: java.lang.Object
All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue
public final class PropertyAccessLevels implements IEnumValue
Defines access levels for metadata properties.
| Field | Description |
|---|---|
| Read | The property is read-only. |
| Update | It is possible to update the property using the MetadataPackage.UpdateProperties method. |
| Remove | The property can be removed through the MetadataPackage.RemoveProperties method. |
| Add | It is possible to update the property using the MetadataPackage.AddProperties method. |
| Full | Grants full access to the property. |
| AddOrUpdate | It is allowed to add and update the property. |
public static final PropertyAccessLevels Read
The property is read-only.
public static final PropertyAccessLevels Update
It is possible to update the property using the MetadataPackage.UpdateProperties method.
public static final PropertyAccessLevels Remove
The property can be removed through the MetadataPackage.RemoveProperties method.
public static final PropertyAccessLevels Add
It is possible to update the property using the MetadataPackage.AddProperties method.
public static final PropertyAccessLevels Full
Grants full access to the property.
public static final PropertyAccessLevels AddOrUpdate
It is allowed to add and update the property. All other operations are restricted.
public static PropertyAccessLevels getByRawValue(int rawValue)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rawValue | int |
Returns: PropertyAccessLevels
public static IEnumValue getFirst()
Returns: IEnumValue
public Object[] getAllValues()
Returns the array of all values defined in the class.
Returns: java.lang.Object[]
public IEnumValue getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rawValue | int |
Returns: IEnumValue
public IEnumValue getEnumValueByName(String name)
Returns the enumeration value by its name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String |
Returns: IEnumValue
public RawIntegerType getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
Returns: RawIntegerType
public int getRawValue()
Returns the raw value of this enumeration value.
Returns: int
public String name()
Returns the name of this enumeration value.
Returns: java.lang.String
public boolean equals(Object o)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| o | java.lang.Object |
Returns: boolean
public int hashCode()
Returns: int
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.