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
Constructor | Description |
---|---|
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
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
codeDefinition | OutlineCodeDefinition | outline code definition. |
outlineValue | OutlineValue | one 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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | the 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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | the 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:
Parameter | Type | Description |
---|---|---|
value | int | the Id in the value list associated with the definition in the outline code collection. |