public final class IndexedPropertyDefinition extends ServiceObjectPropertyDefinition
Constructor and Description |
---|
IndexedPropertyDefinition(String uri,
String index)
Initializes a new instance of the IndexedPropertyDefinition class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether a given indexed property definition is equal to this
indexed property definition.
|
String |
getIndex()
Gets the index of the property.
|
String |
getPrintableName()
Gets the property definition's printable name.
|
Class<String> |
getType()
Gets the property type.
|
protected String |
getXmlElementName()
Gets the name of the XML element.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
protected static boolean |
isEqualTo(IndexedPropertyDefinition idxPropDef1,
IndexedPropertyDefinition idxPropDef2)
Determines whether two specified instances of IndexedPropertyDefinition
are equal.
|
protected void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML.
|
getUri, getVersion
toString, tryLoadFromXml, writeToXml
public IndexedPropertyDefinition(String uri, String index)
uri
- The FieldURI attribute of the IndexedFieldURI element.index
- The Index attribute of the IndexedFieldURI element.protected static boolean isEqualTo(IndexedPropertyDefinition idxPropDef1, IndexedPropertyDefinition idxPropDef2)
idxPropDef1
- First indexed property definition.idxPropDef2
- Second indexed property definition.public String getIndex()
protected void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ServiceObjectPropertyDefinition
writer
- the writerServiceXmlSerializationException
- the service xml serialization exceptionprotected String getXmlElementName()
getXmlElementName
in class ServiceObjectPropertyDefinition
public String getPrintableName()
getPrintableName
in class PropertyDefinitionBase
public boolean equals(Object obj)
public int hashCode()
public Class<String> getType()
getType
in class PropertyDefinitionBase
Copyright © 2012–2015 Microsoft. All rights reserved.