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