Class Conflict
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.availability.Conflict
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class Conflict extends ComplexProperty
Represents a conflict in a meeting time suggestion.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConflict(ConflictType conflictType)Initializes a new instance of the Conflict class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConflictTypegetConflictType()Gets the type of the conflict.LegacyFreeBusyStatusgetFreeBusyStatus()Gets the free/busy status of the conflicting attendee.intgetNumberOfMembers()Gets the number of users, resources, and rooms in the conflicting group.intgetNumberOfMembersAvailable()Gets the number of members who are available (whose status is Free) in the conflicting group.intgetNumberOfMembersWithConflict()Gets the number of members who have a conflict (whose status is Busy, OOF or Tentative) in the conflicting group.intgetNumberOfMembersWithNoData()Gets the number of members who do not have published free/busy data in the conflicting group.booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeElementsToXml, writeToXml, writeToXml
-
-
-
-
Constructor Detail
-
Conflict
protected Conflict(ConflictType conflictType)
Initializes a new instance of the Conflict class.- Parameters:
conflictType- the conflict type
-
-
Method Detail
-
tryReadElementFromXml
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Tries to read element from XML.- Overrides:
tryReadElementFromXmlin classComplexProperty- Parameters:
reader- the reader- Returns:
- True if appropriate element was read.
- Throws:
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
-
-