Class OutlineValue
- java.lang.Object
-
- com.aspose.tasks.OutlineValue
-
public class OutlineValue extends Object
Represents an outline value.
-
-
Constructor Summary
Constructors Constructor Description OutlineValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets the description of an outline value.DurationgetDurationValue()Gets the duration if Type is Duration.intgetParentValueId()Gets the Id of a parent node of an outline code.intgetType()Gets the outline code type.StringgetValue()Gets the actual value.UUIDgetValueGuid()Gets a GUID which identifies this value among others in the entire project.intgetValueId()Gets the unique Id of an outline code value within a project.booleanisCollapsed()Gets a value indicating whether outline value is collapsed or not.voidsetCollapsed(boolean value)Sets a value indicating whether outline value is collapsed or not.voidsetDescription(String value)Sets the description of an outline value.voidsetDurationValue(Duration value)Sets the duration if Type is Duration.voidsetParentValueId(int value)Sets the Id of a parent node of an outline code.voidsetType(int value)Sets the outline code type.voidsetValue(String value)Sets the actual value.voidsetValueId(int value)Sets the unique Id of an outline code value within a project.
-
-
-
Method Detail
-
getDescription
public final String getDescription()
Gets the description of an outline value.
- Returns:
- the description of an outline value.
-
setDescription
public final void setDescription(String value)
Sets the description of an outline value.
- Parameters:
value- the description of an outline value.
-
getDurationValue
public final Duration getDurationValue()
Gets the duration if Type is Duration.
Prefer this property over theValue(getValue()/setValue(String)), when you need to set the value for OutlineValues with Duration type .- Returns:
- the duration if Type is Duration.
-
setDurationValue
public final void setDurationValue(Duration value)
Sets the duration if Type is Duration.
Prefer this property over theValue(getValue()/setValue(String)), when you need to set the value for OutlineValues with Duration type .- Parameters:
value- the duration if Type is Duration.
-
getParentValueId
public final int getParentValueId()
Gets the Id of a parent node of an outline code.
- Returns:
- the Id of a parent node of an outline code.
-
setParentValueId
public final void setParentValueId(int value)
Sets the Id of a parent node of an outline code.
- Parameters:
value- the Id of a parent node of an outline code.
-
getType
public final int getType()
Gets the outline code type.
- Returns:
- the outline code type.
-
setType
public final void setType(int value)
Sets the outline code type.
- Parameters:
value- the outline code type.
-
getValue
public final String getValue()
Gets the actual value.
- Returns:
- the actual value.
-
setValue
public final void setValue(String value)
Sets the actual value.
- Parameters:
value- the actual value.
-
getValueGuid
public final UUID getValueGuid()
Gets a GUID which identifies this value among others in the entire project.
- Returns:
- 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:
- the unique Id of an outline code value within a project.
-
setValueId
public final void setValueId(int value)
Sets the unique Id of an outline code value within a project.
- Parameters:
value- 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:
- a value indicating whether outline value is collapsed or not.
-
setCollapsed
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:
value- a value indicating whether outline value is collapsed or not.
-
-