microsoft.exchange.webservices.data
Enum PropertyDefinitionFlags

java.lang.Object
  extended by java.lang.Enum<PropertyDefinitionFlags>
      extended by microsoft.exchange.webservices.data.PropertyDefinitionFlags
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PropertyDefinitionFlags>

public enum PropertyDefinitionFlags
extends java.lang.Enum<PropertyDefinitionFlags>

defines how a complex property behaves.


Enum Constant Summary
AutoInstantiateOnRead
          The property is automatically instantiated when it is read.
CanDelete
          The property can be deleted.
CanFind
          The property can be searched.
CanSet
          The property can be set.
CanUpdate
          The property can be updated.
MustBeExplicitlyLoaded
          The property must be loaded explicitly.
None
          No specific behavior.
ReuseInstance
          The existing instance of the property is reusable.
UpdateCollectionItems
          Only meaningful for "collection" property.
 
Method Summary
static PropertyDefinitionFlags valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 items 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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null