Class OutlineCodeDefinition
- java.lang.Object
-
- com.aspose.tasks.OutlineCodeDefinition
-
public class OutlineCodeDefinition extends Object
Represents an outline code definition.
-
-
Constructor Summary
Constructors Constructor Description OutlineCodeDefinition()
Initializes a new instance of theOutlineCodeDefinition
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlias()
Gets the alias of a custom outline code.boolean
getAllLevelsRequired()
Gets a value indicating whether the new codes must have all levels.boolean
getEnterprise()
Gets a value indicating whether a custom outline code is an enterprise custom outline code.int
getEnterpriseOutlineCodeAlias()
Gets a reference to another custom field for which this outline code definition is an alias.String
getFieldId()
Gets the field number of an outline code.String
getFieldName()
Gets the name of a custom outline code.String
getGuid()
Gets the Guid of an outline code.boolean
getLeafOnly()
Gets a value indicating whether the values specified in this outline code field must be leaf values.OutlineMaskCollection
getMasks()
Gets the OutlineMaskCollection object.boolean
getOnlyTableValuesAllowed()
Gets a value indicating whether the values specified must come from values table.String
getPhoneticAlias()
Gets the phonetic pronunciation of the alias of the custom outline code.boolean
getResourceSubstitutionEnabled()
Gets a value indicating whether the custom outline code can be used by the Resource Substitution Wizard in Microsoft Project.boolean
getShowIndent()
Gets a value indicating whether the indents of this outline code must be shown.OutlineValueCollection
getValues()
Gets OutlineValueCollection object.void
setAlias(String value)
Sets the alias of a custom outline code.void
setAllLevelsRequired(boolean value)
Sets a value indicating whether the new codes must have all levels.void
setEnterprise(boolean value)
Sets a value indicating whether a custom outline code is an enterprise custom outline code.void
setEnterpriseOutlineCodeAlias(int value)
Sets a reference to another custom field for which this outline code definition is an alias.void
setFieldId(String value)
Sets the field number of an outline code.void
setFieldName(String value)
Sets the name of a custom outline code.void
setGuid(String value)
Sets the Guid of an outline code.void
setLeafOnly(boolean value)
Sets a value indicating whether the values specified in this outline code field must be leaf values.void
setOnlyTableValuesAllowed(boolean value)
Sets a value indicating whether the values specified must come from values table.void
setPhoneticAlias(String value)
Sets the phonetic pronunciation of the alias of the custom outline code.void
setResourceSubstitutionEnabled(boolean value)
Sets a value indicating whether the custom outline code can be used by the Resource Substitution Wizard in Microsoft Project.void
setShowIndent(boolean value)
Sets a value indicating whether the indents of this outline code must be shown.
-
-
-
Constructor Detail
-
OutlineCodeDefinition
public OutlineCodeDefinition()
Initializes a new instance of the
OutlineCodeDefinition
class.
-
-
Method Detail
-
getAlias
public final String getAlias()
Gets the alias of a custom outline code.
- Returns:
- the alias of a custom outline code.
-
setAlias
public final void setAlias(String value)
Sets the alias of a custom outline code.
- Parameters:
value
- the alias of a custom outline code.
-
getAllLevelsRequired
public final boolean getAllLevelsRequired()
Gets a value indicating whether the new codes must have all levels. Not available for Enterprise Codes.
- Returns:
- a value indicating whether the new codes must have all levels.
-
setAllLevelsRequired
public final void setAllLevelsRequired(boolean value)
Sets a value indicating whether the new codes must have all levels. Not available for Enterprise Codes.
- Parameters:
value
- a value indicating whether the new codes must have all levels.
-
getEnterprise
public final boolean getEnterprise()
Gets a value indicating whether a custom outline code is an enterprise custom outline code.
- Returns:
- a value indicating whether a custom outline code is an enterprise custom outline code.
-
setEnterprise
public final void setEnterprise(boolean value)
Sets a value indicating whether a custom outline code is an enterprise custom outline code.
- Parameters:
value
- a value indicating whether a custom outline code is an enterprise custom outline code.
-
getEnterpriseOutlineCodeAlias
public final int getEnterpriseOutlineCodeAlias()
Gets a reference to another custom field for which this outline code definition is an alias.
- Returns:
- a reference to another custom field for which this outline code definition is an alias.
-
setEnterpriseOutlineCodeAlias
public final void setEnterpriseOutlineCodeAlias(int value)
Sets a reference to another custom field for which this outline code definition is an alias.
- Parameters:
value
- a reference to another custom field for which this outline code definition is an alias.
-
getFieldId
public final String getFieldId()
Gets the field number of an outline code.
- Returns:
- the field number of an outline code.
-
setFieldId
public final void setFieldId(String value)
Sets the field number of an outline code.
- Parameters:
value
- the field number of an outline code.
-
getFieldName
public final String getFieldName()
Gets the name of a custom outline code.
- Returns:
- the name of a custom outline code.
-
setFieldName
public final void setFieldName(String value)
Sets the name of a custom outline code.
- Parameters:
value
- the name of a custom outline code.
-
getGuid
public final String getGuid()
Gets the Guid of an outline code.
- Returns:
- the Guid of an outline code.
-
setGuid
public final void setGuid(String value)
Sets the Guid of an outline code.
- Parameters:
value
- the Guid of an outline code.
-
getLeafOnly
public final boolean getLeafOnly()
Gets a value indicating whether the values specified in this outline code field must be leaf values.
- Returns:
- a value indicating whether the values specified in this outline code field must be leaf values.
-
setLeafOnly
public final void setLeafOnly(boolean value)
Sets a value indicating whether the values specified in this outline code field must be leaf values.
- Parameters:
value
- a value indicating whether the values specified in this outline code field must be leaf values.
-
getMasks
public final OutlineMaskCollection getMasks()
Gets the OutlineMaskCollection object. The table of entries that define the outline code mask. Read-only
OutlineMaskCollection
instance.- Returns:
- the OutlineMaskCollection object.
-
getOnlyTableValuesAllowed
public final boolean getOnlyTableValuesAllowed()
Gets a value indicating whether the values specified must come from values table.
- Returns:
- a value indicating whether the values specified must come from values table.
-
setOnlyTableValuesAllowed
public final void setOnlyTableValuesAllowed(boolean value)
Sets a value indicating whether the values specified must come from values table.
- Parameters:
value
- a value indicating whether the values specified must come from values table.
-
getPhoneticAlias
public final String getPhoneticAlias()
Gets the phonetic pronunciation of the alias of the custom outline code.
- Returns:
- the phonetic pronunciation of the alias of the custom outline code.
-
setPhoneticAlias
public final void setPhoneticAlias(String value)
Sets the phonetic pronunciation of the alias of the custom outline code.
- Parameters:
value
- the phonetic pronunciation of the alias of the custom outline code.
-
getResourceSubstitutionEnabled
public final boolean getResourceSubstitutionEnabled()
Gets a value indicating whether the custom outline code can be used by the Resource Substitution Wizard in Microsoft Project.
- Returns:
- a value indicating whether the custom outline code can be used by the Resource Substitution Wizard in Microsoft Project.
-
setResourceSubstitutionEnabled
public final void setResourceSubstitutionEnabled(boolean value)
Sets a value indicating whether the custom outline code can be used by the Resource Substitution Wizard in Microsoft Project.
- Parameters:
value
- a value indicating whether the custom outline code can be used by the Resource Substitution Wizard in Microsoft Project.
-
getShowIndent
public final boolean getShowIndent()
Gets a value indicating whether the indents of this outline code must be shown.
This is new for MS Project 2010 property.- Returns:
- a value indicating whether the indents of this outline code must be shown.
-
setShowIndent
public final void setShowIndent(boolean value)
Sets a value indicating whether the indents of this outline code must be shown.
This is new for MS Project 2010 property.- Parameters:
value
- a value indicating whether the indents of this outline code must be shown.
-
getValues
public final OutlineValueCollection getValues()
Gets OutlineValueCollection object. The values of the table associated with this outline code.
- Returns:
- OutlineValueCollection object.
-
-