microsoft.exchange.webservices.data
Class Conflict

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.Conflict

public final class Conflict
extends ComplexProperty

Represents a conflict in a meeting time suggestion.


Constructor Summary
protected Conflict(ConflictType conflictType)
          Initializes a new instance of the Conflict class.
 
Method Summary
 ConflictType getConflictType()
          Gets the type of the conflict.
 LegacyFreeBusyStatus getFreeBusyStatus()
          Gets the free/busy status of the conflicting attendee.
 int getNumberOfMembers()
          Gets the number of users, resources, and rooms in the conflicting group.
 int getNumberOfMembersAvailable()
          Gets the number of members who are available (whose status is Free) in the conflicting group.
 int getNumberOfMembersWithConflict()
          Gets the number of members who have a conflict (whose status is Busy, OOF or Tentative) in the conflicting group.
 int getNumberOfMembersWithNoData()
          Gets the number of members who do not have published free/busy data in the conflicting group.
protected  boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
          Tries to read element from XML.
 
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeElementsToXml, writeToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Conflict

protected Conflict(ConflictType conflictType)
Initializes a new instance of the Conflict class.

Parameters:
conflictType - the conflict type
Method Detail

tryReadElementFromXml

protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                                 throws java.lang.Exception
Tries to read element from XML.

Overrides:
tryReadElementFromXml in class ComplexProperty
Parameters:
reader - the reader
Returns:
True if appropriate element was read.
Throws:
java.lang.Exception - the exception

getConflictType

public ConflictType getConflictType()
Gets the type of the conflict.

Returns:
the conflict type

getNumberOfMembers

public int getNumberOfMembers()
Gets the number of users, resources, and rooms in the conflicting group. The value of this property is only meaningful when ConflictType is equal to ConflictType.GroupConflict.

Returns:
the number of members

getNumberOfMembersAvailable

public int getNumberOfMembersAvailable()
Gets the number of members who are available (whose status is Free) in the conflicting group. The value of this property is only meaningful when ConflictType is equal to ConflictType.GroupConflict.

Returns:
the number of members available

getNumberOfMembersWithConflict

public int getNumberOfMembersWithConflict()
Gets the number of members who have a conflict (whose status is Busy, OOF or Tentative) in the conflicting group. The value of this property is only meaningful when ConflictType is equal to ConflictType.GroupConflict.

Returns:
the number of members with conflict

getNumberOfMembersWithNoData

public int getNumberOfMembersWithNoData()
Gets the number of members who do not have published free/busy data in the conflicting group. The value of this property is only meaningful when ConflictType is equal to ConflictType.GroupConflict.

Returns:
the number of members with no data

getFreeBusyStatus

public LegacyFreeBusyStatus getFreeBusyStatus()
Gets the free/busy status of the conflicting attendee. The value of this property is only meaningful when ConflictType is equal to ConflictType.IndividualAttendee.

Returns:
the free busy status