Enum PropertyDefinitionFlags
- java.lang.Object
-
- java.lang.Enum<PropertyDefinitionFlags>
-
- microsoft.exchange.webservices.data.core.enumeration.property.PropertyDefinitionFlags
-
- All Implemented Interfaces:
Serializable,Comparable<PropertyDefinitionFlags>
public enum PropertyDefinitionFlags extends Enum<PropertyDefinitionFlags>
defines how a complex property behaves.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AutoInstantiateOnReadThe property is automatically instantiated when it is read.CanDeleteThe property can be deleted.CanFindThe property can be searched.CanSetThe property can be set.CanUpdateThe property can be updated.MustBeExplicitlyLoadedThe property must be loaded explicitly.NoneNo specific behavior.ReuseInstanceThe existing instance of the property is reusable.UpdateCollectionItemsOnly meaningful for "collection" property.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyDefinitionFlagsvalueOf(String name)Returns the enum constant of this type with the specified name.static PropertyDefinitionFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final PropertyDefinitionFlags None
No specific behavior.
-
AutoInstantiateOnRead
public static final PropertyDefinitionFlags AutoInstantiateOnRead
The property is automatically instantiated when it is read.
-
ReuseInstance
public static final PropertyDefinitionFlags ReuseInstance
The existing instance of the property is reusable.
-
CanSet
public static final PropertyDefinitionFlags CanSet
The property can be set.
-
CanUpdate
public static final PropertyDefinitionFlags CanUpdate
The property can be updated.
-
CanDelete
public static final PropertyDefinitionFlags CanDelete
The property can be deleted.
-
CanFind
public static final PropertyDefinitionFlags CanFind
The property can be searched.
-
MustBeExplicitlyLoaded
public static final PropertyDefinitionFlags MustBeExplicitlyLoaded
The property must be loaded explicitly.
-
UpdateCollectionItems
public static final PropertyDefinitionFlags UpdateCollectionItems
Only meaningful for "collection" property. With this flag, the item in the collection gets updated, instead of creating and adding new item to the collection. Should be used together with the ReuseInstance flag.
-
-
Method Detail
-
values
public static PropertyDefinitionFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PropertyDefinitionFlags c : PropertyDefinitionFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyDefinitionFlags valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-