OutlineCode

Inheritance: java.lang.Object

public class OutlineCode

Represents a value of an outline code.


Two pieces of data are necessary - a pointer to the outline code table that is specified by the FieldId, and the value that is specified either by the ValueId or ValueGuid pointer to the value list.

Constructors

ConstructorDescription
OutlineCode()Initializes a new instance of the OutlineCode class.
OutlineCode(OutlineCodeDefinition codeDefinition, OutlineValue outlineValue)Initializes a new instance of the OutlineCode class using the specified Outline Code and one of its values.

Methods

MethodDescription
getFieldId()Gets the number value of the project Id custom field.
getValueGuid()Gets the GUID of the value in the value list.
getValueId()Gets the Id in the value list associated with the definition in the outline code collection.
setFieldId(String value)Sets the number value of the project Id custom field.
setValueGuid(String value)Sets the GUID of the value in the value list.
setValueId(int value)Sets the Id in the value list associated with the definition in the outline code collection.

OutlineCode()

public OutlineCode()

Initializes a new instance of the OutlineCode class.

OutlineCode(OutlineCodeDefinition codeDefinition, OutlineValue outlineValue)

public OutlineCode(OutlineCodeDefinition codeDefinition, OutlineValue outlineValue)

Initializes a new instance of the OutlineCode class using the specified Outline Code and one of its values.

Parameters:

ParameterTypeDescription
codeDefinitionOutlineCodeDefinitionoutline code definition.
outlineValueOutlineValueone of outline code definition values.

getFieldId()

public final String getFieldId()

Gets the number value of the project Id custom field.

Returns: java.lang.String - the number value of the project Id custom field.

getValueGuid()

public final String getValueGuid()

Gets the GUID of the value in the value list. The ValueGuid matches the FieldGuid in the value list.

Returns: java.lang.String - the GUID of the value in the value list.

getValueId()

public final int getValueId()

Gets the Id in the value list associated with the definition in the outline code collection.

Returns: int - the Id in the value list associated with the definition in the outline code collection.

setFieldId(String value)

public final void setFieldId(String value)

Sets the number value of the project Id custom field.

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe number value of the project Id custom field.

setValueGuid(String value)

public final void setValueGuid(String value)

Sets the GUID of the value in the value list. The ValueGuid matches the FieldGuid in the value list.

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe GUID of the value in the value list.

setValueId(int value)

public final void setValueId(int value)

Sets the Id in the value list associated with the definition in the outline code collection.

Parameters:

ParameterTypeDescription
valueintthe Id in the value list associated with the definition in the outline code collection.