public class ExtendedAttribute extends Object
Represents extended attributes. Currently supported all types of Extended attributes reading from MSP Xml 2003/2007 and mpp 2003. For MSP mpp 2007 all Extended attributes reading supported except durations and flags.
Constructor and Description |
---|
ExtendedAttribute() |
Modifier and Type | Method and Description |
---|---|
ExtendedAttributeDefinition |
getAttributeDefinition()
Returns the attribute definition
|
int |
getDurationFormat()
Returns the duration format.
|
String |
getFieldId()
Returns the id of a field.
|
String |
getValue()
Returns the value of a field.
|
String |
getValueGuid()
Returns the guid of a value.
|
boolean |
getValueReadOnly()
Returns a flag which determines whether a value of this
ExtendedAttribute instance is read-only. |
void |
setAttributeDefinition(ExtendedAttributeDefinition value)
Sets the attribute definition
|
void |
setDurationFormat(int value)
Sets the duration format.
|
void |
setFieldId(String value)
Sets the id of a field.
|
void |
setValue(String value)
Sets the value of a field.
|
void |
setValueGuid(String value)
Sets the guid of a value.
|
public String getFieldId()
Returns the id of a field.
Read/write String
.
public void setFieldId(String value)
Sets the id of a field.
Read/write String
.
value
- field id.public String getValue()
Returns the value of a field.
Read/write String
.
public void setValue(String value)
Sets the value of a field.
Read/write String
.
value
- field value.public String getValueGuid()
Returns the guid of a value.
Read/write String
.
public void setValueGuid(String value)
Sets the guid of a value.
Read/write String
.
value
- value Guid.public int getDurationFormat()
Returns the duration format.
Read/write TimeUnitType
.
public void setDurationFormat(int value)
Sets the duration format.
Read/write TimeUnitType
.
value
- duration format.public ExtendedAttributeDefinition getAttributeDefinition()
Returns the attribute definition
ExtendedAttributeDefinition
).public void setAttributeDefinition(ExtendedAttributeDefinition value)
Sets the attribute definition
value
- attribute definition (ExtendedAttributeDefinition
).public boolean getValueReadOnly()
Returns a flag which determines whether a value of this ExtendedAttribute
instance is read-only.
ExtendedAttributeDefinition
for this object.ExtendedAttributeDefinition
for this object; otherwise, false.Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.