public final class PropertyAccessLevels extends Object implements IEnumValue
Defines access levels for metadata properties.
| Modifier and Type | Field and Description |
|---|---|
static PropertyAccessLevels |
Add
It is possible to update the property using the
MetadataPackage.AddProperties method. |
static PropertyAccessLevels |
AddOrUpdate
It is allowed to add and update the property.
|
static PropertyAccessLevels |
Full
Grants full access to the property.
|
static PropertyAccessLevels |
Read
The property is read-only.
|
static PropertyAccessLevels |
Remove
The property can be removed through the
MetadataPackage.RemoveProperties method. |
static PropertyAccessLevels |
Update
It is possible to update the property using the
MetadataPackage.UpdateProperties method. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static PropertyAccessLevels |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
int |
hashCode() |
String |
name()
Returns the name of this enumeration value.
|
public static final PropertyAccessLevels Add
It is possible to update the property using the MetadataPackage.AddProperties method.
public static final PropertyAccessLevels AddOrUpdate
It is allowed to add and update the property. All other operations are restricted.
public static final PropertyAccessLevels Full
Grants full access to the property.
public static final PropertyAccessLevels Read
The property is read-only.
public static final PropertyAccessLevels Remove
The property can be removed through the MetadataPackage.RemoveProperties method.
public static final PropertyAccessLevels Update
It is possible to update the property using the MetadataPackage.UpdateProperties method.
public Object[] getAllValues()
IEnumValueReturns the array of all values defined in the class.
getAllValues in interface IEnumValuepublic static PropertyAccessLevels getByRawValue(int rawValue)
public IEnumValue getEnumValueByName(String name)
IEnumValueReturns the enumeration value by its name.
getEnumValueByName in interface IEnumValuename - The name of the enumeration value.public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValueReturns the enumeration value by the raw value associated with it.
getEnumValueByRawValue in interface IEnumValuerawValue - The raw value.public static IEnumValue getFirst()
public int getRawValue()
IEnumValueReturns the raw value of this enumeration value.
getRawValue in interface IEnumValuepublic RawIntegerType getRawValueType()
IEnumValueReturns the underlying type of the raw value of this enumeration value.
getRawValueType in interface IEnumValuepublic String name()
IEnumValueReturns the name of this enumeration value.
name in interface IEnumValueCopyright © 2026. All rights reserved.