|
||||||||||
| 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.ExtendedPropertyDefinition
public final class ExtendedPropertyDefinition
Represents the definition of an extended property.
| Constructor Summary | |
|---|---|
|
ExtendedPropertyDefinition()
Initializes a new instance. |
|
ExtendedPropertyDefinition(DefaultExtendedPropertySet propertySet,
int id,
MapiPropertyType mapiType)
Initializes a new instance. |
|
ExtendedPropertyDefinition(DefaultExtendedPropertySet propertySet,
String name,
MapiPropertyType mapiType)
Initializes a new instance. |
|
ExtendedPropertyDefinition(int tag,
MapiPropertyType mapiType)
Initializes a new instance. |
protected |
ExtendedPropertyDefinition(MapiPropertyType mapiType)
Initializes a new instance. |
|
ExtendedPropertyDefinition(UUID propertySetId,
int id,
MapiPropertyType mapiType)
Initializes a new instance. |
|
ExtendedPropertyDefinition(UUID propertySetId,
String name,
MapiPropertyType mapiType)
Initializes a new instance. |
| Method Summary | ||
|---|---|---|
boolean |
equals(Object obj)
Determines whether two specified instances of ExtendedPropertyDefinition are equal. |
|
protected
|
formatField(String name,
T fieldValue)
Formats the field. |
|
Integer |
getId()
Gets the Id of the extended property. |
|
MapiPropertyType |
getMapiType()
Gets the MAPI type of the extended property. |
|
String |
getName()
Gets the name of the extended property. |
|
String |
getPrintableName()
Gets the property definition's printable name. |
|
DefaultExtendedPropertySet |
getPropertySet()
Gets the property set of the extended property. |
|
UUID |
getPropertySetId()
Gets the property set Id or the extended property. |
|
Integer |
getTag()
Gets the extended property's tag. |
|
Class<?> |
getType()
Gets the property type. |
|
ExchangeVersion |
getVersion()
Gets the minimum Exchange version that supports this extended property. |
|
protected String |
getXmlElementName()
Gets the name of the XML element. |
|
int |
hashCode()
|
|
protected static boolean |
isEqualTo(ExtendedPropertyDefinition extPropDef1,
ExtendedPropertyDefinition extPropDef2)
Determines whether two specified instances of ExtendedPropertyDefinition are equal. |
|
void |
loadFromXml(EwsServiceXmlReader reader)
Loads from XML. |
|
protected void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML. |
|
| Methods inherited from class microsoft.exchange.webservices.data.property.definition.PropertyDefinitionBase |
|---|
toString, tryLoadFromXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedPropertyDefinition()
protected ExtendedPropertyDefinition(MapiPropertyType mapiType)
mapiType - The MAPI type of the extended property.
public ExtendedPropertyDefinition(int tag,
MapiPropertyType mapiType)
tag - The tag of the extended property.mapiType - The MAPI type of the extended property.
public ExtendedPropertyDefinition(DefaultExtendedPropertySet propertySet,
String name,
MapiPropertyType mapiType)
throws Exception
propertySet - The extended property set of the extended property.name - The name of the extended property.mapiType - The MAPI type of the extended property.
Exception - the exception
public ExtendedPropertyDefinition(DefaultExtendedPropertySet propertySet,
int id,
MapiPropertyType mapiType)
propertySet - The property set of the extended property.id - The Id of the extended property.mapiType - The MAPI type of the extended property.
public ExtendedPropertyDefinition(UUID propertySetId,
String name,
MapiPropertyType mapiType)
throws Exception
propertySetId - The property set Id of the extended property.name - The name of the extended property.mapiType - The MAPI type of the extended property.
Exception - the exception
public ExtendedPropertyDefinition(UUID propertySetId,
int id,
MapiPropertyType mapiType)
propertySetId - The property set Id of the extended property.id - The Id of the extended property.mapiType - The MAPI type of the extended property.| Method Detail |
|---|
protected static boolean isEqualTo(ExtendedPropertyDefinition extPropDef1,
ExtendedPropertyDefinition extPropDef2)
extPropDef1 - First extended property definition.extPropDef2 - Second extended property definition.
protected String getXmlElementName()
getXmlElementName in class PropertyDefinitionBasepublic ExchangeVersion getVersion()
getVersion in class PropertyDefinitionBase
protected void writeAttributesToXml(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class PropertyDefinitionBasewriter - The writer.
ServiceXmlSerializationException - the service xml serialization exception
public void loadFromXml(EwsServiceXmlReader reader)
throws Exception
reader - The reader.
Exception - the exceptionpublic boolean equals(Object obj)
equals in class Objectobj - the obj
public int hashCode()
hashCode in class Objectpublic String getPrintableName()
getPrintableName in class PropertyDefinitionBase
protected <T> String formatField(String name,
T fieldValue)
T - Type of the field.name - The name.fieldValue - The field value.
public DefaultExtendedPropertySet getPropertySet()
public UUID getPropertySetId()
public Integer getTag()
public String getName()
public Integer getId()
public MapiPropertyType getMapiType()
public Class<?> getType()
getType in class PropertyDefinitionBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||