PropertyAccessLevels

Contents
[ ]

Inheritance: java.lang.Object

All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue

public final class PropertyAccessLevels implements IEnumValue

Defines access levels for metadata properties.

Fields

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.

Methods

Method Description
getByRawValue(int rawValue)
getFirst()
getAllValues()
getEnumValueByRawValue(int rawValue)
getEnumValueByName(String name)
getRawValueType()
getRawValue()
name()
equals(Object o)
hashCode()

Read

public static final PropertyAccessLevels Read

The property is read-only.

Update

public static final PropertyAccessLevels Update

It is possible to update the property using the MetadataPackage.UpdateProperties method.

Remove

public static final PropertyAccessLevels Remove

The property can be removed through the MetadataPackage.RemoveProperties method.

Add

public static final PropertyAccessLevels Add

It is possible to update the property using the MetadataPackage.AddProperties method.

Full

public static final PropertyAccessLevels Full

Grants full access to the property.

AddOrUpdate

public static final PropertyAccessLevels AddOrUpdate

It is allowed to add and update the property. All other operations are restricted.

getByRawValue(int rawValue)

public static PropertyAccessLevels getByRawValue(int rawValue)

Parameters:

Parameter Type Description
rawValue int

Returns: PropertyAccessLevels

getFirst()

public static IEnumValue getFirst()

Returns: IEnumValue

getAllValues()

public Object[] getAllValues()

Returns the array of all values defined in the class.

Returns: java.lang.Object[]

getEnumValueByRawValue(int rawValue)

public IEnumValue getEnumValueByRawValue(int rawValue)

Returns the enumeration value by the raw value associated with it.

Parameters:

Parameter Type Description
rawValue int

Returns: IEnumValue

getEnumValueByName(String name)

public IEnumValue getEnumValueByName(String name)

Returns the enumeration value by its name.

Parameters:

Parameter Type Description
name java.lang.String

Returns: IEnumValue

getRawValueType()

public RawIntegerType getRawValueType()

Returns the underlying type of the raw value of this enumeration value.

Returns: RawIntegerType

getRawValue()

public int getRawValue()

Returns the raw value of this enumeration value.

Returns: int

name()

public String name()

Returns the name of this enumeration value.

Returns: java.lang.String

equals(Object o)

public boolean equals(Object o)

Parameters:

Parameter Type Description
o java.lang.Object

Returns: boolean

hashCode()

public int hashCode()

Returns: int