Class PropertyTag
java.lang.Object
com.independentsoft.pst.PropertyTag
Represents a MAPI property tag, combining a property identifier and a
PropertyType.-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new property tag.PropertyTag(int tag, int type) Instantiates a new property tag.PropertyTag(int tag, PropertyType type) Instantiates a new property tag.PropertyTag(long propertyTag) Instantiates a new property tag. -
Method Summary
Modifier and TypeMethodDescriptionintgetTag()Gets the tag.getType()Gets the type.voidsetTag(int tag) Sets the tag.voidsetType(PropertyType type) Sets the type.
-
Constructor Details
-
PropertyTag
public PropertyTag()Instantiates a new property tag. -
PropertyTag
public PropertyTag(long propertyTag) Instantiates a new property tag.- Parameters:
propertyTag- the property tag
-
PropertyTag
public PropertyTag(int tag, int type) Instantiates a new property tag.- Parameters:
tag- the tagtype- the type
-
PropertyTag
Instantiates a new property tag.- Parameters:
tag- the tagtype- the type
-
-
Method Details
-
getTag
public int getTag()Gets the tag.- Returns:
- the tag
-
setTag
public void setTag(int tag) Sets the tag.- Parameters:
tag- the new tag
-
getType
-
setType
-