public class MapiPidTagPropertyDescriptorBuilder extends Object
Constructor and Description |
---|
MapiPidTagPropertyDescriptorBuilder(MapiPidTagPropertyDescriptor model) |
Modifier and Type | Method and Description |
---|---|
MapiPidTagPropertyDescriptor |
build()
Build MapiPidTagPropertyDescriptor instance.
|
MapiPidTagPropertyDescriptorBuilder |
canonicalName(String canonicalName)
Set MapiPidTagPropertyDescriptor.canonicalName and return builder.
|
MapiPidTagPropertyDescriptorBuilder |
dataType(String dataType)
Set MapiPidTagPropertyDescriptor.dataType and return builder.
|
MapiPidTagPropertyDescriptorBuilder |
id(Integer id)
Set MapiPidTagPropertyDescriptor.id and return builder.
|
MapiPidTagPropertyDescriptorBuilder |
multipleValuesDataType(Boolean multipleValuesDataType)
Set MapiPidTagPropertyDescriptor.multipleValuesDataType and return builder.
|
MapiPidTagPropertyDescriptorBuilder |
name(String name)
Set MapiPidTagPropertyDescriptor.name and return builder.
|
MapiPidTagPropertyDescriptorBuilder |
tag(Long tag)
Set MapiPidTagPropertyDescriptor.tag and return builder.
|
public MapiPidTagPropertyDescriptorBuilder(MapiPidTagPropertyDescriptor model)
public MapiPidTagPropertyDescriptor build()
public MapiPidTagPropertyDescriptorBuilder canonicalName(String canonicalName)
canonicalName
- The name used to refer to the property in the documentation. The prefix of the canonical name identifies the basic characteristics of a property to the implementer. The canonical naming structure uses three categories that are denoted by the following prefixes to the canonical property name: * PidLid prefix: Properties identified by an unsigned 32-bit quantity along with a property set. * PidName prefix: Properties identified by a string name along with a property set. * PidTag prefix: Properties identified by an unsigned 16-bit quantity.public MapiPidTagPropertyDescriptorBuilder dataType(String dataType)
dataType
- [MS-OXCDATA]: Data Structures Enum, available values: Unspecified, Null, Integer16, Integer32, Floating32, Floating64, Currency, FloatingTime, ErrorCode, Boolean, Integer64, String, String8, Time, Guid, ServerId, Restriction, RuleAction, Binary, MultipleInteger16, MultipleInteger32, MultipleFloating32, MultipleFloating64, MultipleCurrency, MultipleFloatingTime, MultipleBoolean, MultipleInteger64, MultipleString, MultipleString8, MultipleTime, MultipleGuid, MultipleBinary, Objectpublic MapiPidTagPropertyDescriptorBuilder multipleValuesDataType(Boolean multipleValuesDataType)
multipleValuesDataType
- Indicates if data type contains of multiple valuespublic MapiPidTagPropertyDescriptorBuilder name(String name)
name
- A string that identifies the propertypublic MapiPidTagPropertyDescriptorBuilder id(Integer id)
id
- An unsigned 16-bit quantity that identifies a tagged property. Property IDs are not necessarily unique. With the exception of property IDs in the range from 0x6800 to 0x7BFF, the combination of property ID and data type are unique. Property IDs in the range from 0x6800 to 0x7BFF are defined by the message class.public MapiPidTagPropertyDescriptorBuilder tag(Long tag)
tag
- A property tag is a 32-bit number that contains a unique property identifier in bits 16 through 31 and a property type in bits 0 through 15.Copyright © 2020. All rights reserved.