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 theOutlineCodeDefinitionclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlias()Gets the alias of a custom outline code.booleangetAllLevelsRequired()Gets a value indicating whether the new codes must have all levels.booleangetEnterprise()Gets a value indicating whether a custom outline code is an enterprise custom outline code.intgetEnterpriseOutlineCodeAlias()Gets a reference to another custom field for which this outline code definition is an alias.StringgetFieldId()Gets the field number of an outline code.StringgetFieldName()Gets the name of a custom outline code.StringgetGuid()Gets the Guid of an outline code.booleangetLeafOnly()Gets a value indicating whether the values specified in this outline code field must be leaf values.OutlineMaskCollectiongetMasks()Gets the OutlineMaskCollection object.booleangetOnlyTableValuesAllowed()Gets a value indicating whether the values specified must come from values table.StringgetPhoneticAlias()Gets the phonetic pronunciation of the alias of the custom outline code.booleangetResourceSubstitutionEnabled()Gets a value indicating whether the custom outline code can be used by the Resource Substitution Wizard in Microsoft Project.booleangetShowIndent()Gets a value indicating whether the indents of this outline code must be shown.OutlineValueCollectiongetValues()Gets OutlineValueCollection object.voidsetAlias(String value)Sets the alias of a custom outline code.voidsetAllLevelsRequired(boolean value)Sets a value indicating whether the new codes must have all levels.voidsetEnterprise(boolean value)Sets a value indicating whether a custom outline code is an enterprise custom outline code.voidsetEnterpriseOutlineCodeAlias(int value)Sets a reference to another custom field for which this outline code definition is an alias.voidsetFieldId(String value)Sets the field number of an outline code.voidsetFieldName(String value)Sets the name of a custom outline code.voidsetGuid(String value)Sets the Guid of an outline code.voidsetLeafOnly(boolean value)Sets a value indicating whether the values specified in this outline code field must be leaf values.voidsetOnlyTableValuesAllowed(boolean value)Sets a value indicating whether the values specified must come from values table.voidsetPhoneticAlias(String value)Sets the phonetic pronunciation of the alias of the custom outline code.voidsetResourceSubstitutionEnabled(boolean value)Sets a value indicating whether the custom outline code can be used by the Resource Substitution Wizard in Microsoft Project.voidsetShowIndent(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
OutlineCodeDefinitionclass.
-
-
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
OutlineMaskCollectioninstance.- 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.
-
-