|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.property.definition.PropertyDefinitionBase
microsoft.exchange.webservices.data.property.definition.ServiceObjectPropertyDefinition
microsoft.exchange.webservices.data.property.definition.PropertyDefinition
microsoft.exchange.webservices.data.property.definition.GenericPropertyDefinition<Boolean>
microsoft.exchange.webservices.data.property.definition.BoolPropertyDefinition
public final class BoolPropertyDefinition
Represents Boolean property definition.
| Constructor Summary | |
|---|---|
BoolPropertyDefinition(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
Initializes a new instance. |
|
BoolPropertyDefinition(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version,
boolean isNullable)
Initializes a new instance. |
|
BoolPropertyDefinition(String xmlElementName,
String uri,
ExchangeVersion version)
Initializes a new instance. |
|
| Method Summary | |
|---|---|
boolean |
isNullable()
Gets a value indicating whether this property definition is for a nullable type. |
void |
loadPropertyValueFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag)
Loads from XML. |
protected String |
toString(Boolean value)
Convert instance to string. |
void |
writePropertyValueToXml(EwsServiceXmlWriter writer,
PropertyBag propertyBag,
boolean isUpdateOperation)
Writes the property value to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.property.definition.GenericPropertyDefinition |
|---|
getType, parse |
| Methods inherited from class microsoft.exchange.webservices.data.property.definition.PropertyDefinition |
|---|
getAssociatedInternalProperties, getName, getPrintableName, getVersion, getXmlElement, hasFlag, hasFlag, registerAssociatedInternalProperties, setName |
| Methods inherited from class microsoft.exchange.webservices.data.property.definition.ServiceObjectPropertyDefinition |
|---|
getUri, getXmlElementName, writeAttributesToXml |
| Methods inherited from class microsoft.exchange.webservices.data.property.definition.PropertyDefinitionBase |
|---|
toString, tryLoadFromXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BoolPropertyDefinition(String xmlElementName,
String uri,
ExchangeVersion version)
xmlElementName - Name of the XML element.uri - The URI.version - The version.
public BoolPropertyDefinition(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
xmlElementName - Name of the XML element.uri - The URI.flags - The flags.version - The version.
public BoolPropertyDefinition(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version,
boolean isNullable)
xmlElementName - Name of the XML element.uri - The URI.flags - The flags.version - The version.isNullable - Indicates that this property definition is for a nullable
property.| Method Detail |
|---|
protected String toString(Boolean value)
value - The value.
public boolean isNullable()
isNullable in class PropertyDefinition
public void loadPropertyValueFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag)
throws Exception
loadPropertyValueFromXml in class PropertyDefinitionreader - The reader.propertyBag - The property bag.
Exception - the exception
public void writePropertyValueToXml(EwsServiceXmlWriter writer,
PropertyBag propertyBag,
boolean isUpdateOperation)
throws XMLStreamException,
ServiceLocalException
writePropertyValueToXml in class PropertyDefinitionwriter - The writer.propertyBag - The property bag.isUpdateOperation - Indicates whether the context is an update operation.
XMLStreamException - the XML stream exception
ServiceLocalException - the service local exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||