OutlineValue
Inheritance: java.lang.Object
public class OutlineValue
Represents an outline value.
Constructors
Constructor | Description |
---|---|
OutlineValue() |
Methods
Method | Description |
---|---|
getDescription() | Gets the description of an outline value. |
getDurationValue() | Gets the duration if Type is Duration. |
getParentValueId() | Gets the Id of a parent node of an outline code. |
getType() | Gets the outline code type. |
getValue() | Gets the actual value. |
getValueGuid() | Gets a GUID which identifies this value among others in the entire project. |
getValueId() | Gets the unique Id of an outline code value within a project. |
isCollapsed() | Gets a value indicating whether outline value is collapsed or not. |
setCollapsed(boolean value) | Sets a value indicating whether outline value is collapsed or not. |
setDescription(String value) | Sets the description of an outline value. |
setDurationValue(Duration value) | Sets the duration if Type is Duration. |
setParentValueId(int value) | Sets the Id of a parent node of an outline code. |
setType(int value) | Sets the outline code type. |
setValue(String value) | Sets the actual value. |
setValueId(int value) | Sets the unique Id of an outline code value within a project. |
OutlineValue()
public OutlineValue()
getDescription()
public final String getDescription()
Gets the description of an outline value.
Returns: java.lang.String - the description of an outline value.
getDurationValue()
public final Duration getDurationValue()
Gets the duration if Type is Duration.
Prefer this property over the Value
(getValue()/setValue(String)), when you need to set the value for OutlineValues with Duration type .
Returns: Duration - the duration if Type is Duration.
getParentValueId()
public final int getParentValueId()
Gets the Id of a parent node of an outline code.
Returns: int - the Id of a parent node of an outline code.
getType()
public final int getType()
Gets the outline code type.
Returns: int - the outline code type.
getValue()
public final String getValue()
Gets the actual value.
Returns: java.lang.String - the actual value.
getValueGuid()
public final UUID getValueGuid()
Gets a GUID which identifies this value among others in the entire project.
Returns: java.util.UUID - a GUID which identifies this value among others in the entire project.
getValueId()
public final int getValueId()
Gets the unique Id of an outline code value within a project.
Returns: int - the unique Id of an outline code value within a project.
isCollapsed()
public final boolean isCollapsed()
Gets a value indicating whether outline value is collapsed or not.
This is new for MS Project 2010 property.
Returns: boolean - a value indicating whether outline value is collapsed or not.
setCollapsed(boolean value)
public final void setCollapsed(boolean value)
Sets a value indicating whether outline value is collapsed or not.
This is new for MS Project 2010 property.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | a value indicating whether outline value is collapsed or not. |
setDescription(String value)
public final void setDescription(String value)
Sets the description of an outline value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | the description of an outline value. |
setDurationValue(Duration value)
public final void setDurationValue(Duration value)
Sets the duration if Type is Duration.
Prefer this property over the Value
(getValue()/setValue(String)), when you need to set the value for OutlineValues with Duration type .
Parameters:
Parameter | Type | Description |
---|---|---|
value | Duration | the duration if Type is Duration. |
setParentValueId(int value)
public final void setParentValueId(int value)
Sets the Id of a parent node of an outline code.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the Id of a parent node of an outline code. |
setType(int value)
public final void setType(int value)
Sets the outline code type.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the outline code type. |
setValue(String value)
public final void setValue(String value)
Sets the actual value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | the actual value. |
setValueId(int value)
public final void setValueId(int value)
Sets the unique Id of an outline code value within a project.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | the unique Id of an outline code value within a project. |