Serialized Form


Package com.topcoder.shared.language

Class com.topcoder.shared.language.BaseLanguage implements Serializable

Serialized Fields

id

int id
Identifier of the language.


name

java.lang.String name
Descriptor of the language.

Class com.topcoder.shared.language.CPPLanguage implements Serializable

Class com.topcoder.shared.language.CSharpLanguage implements Serializable

Class com.topcoder.shared.language.CStyleLanguage implements Serializable

Class com.topcoder.shared.language.JavaLanguage implements Serializable


Package com.topcoder.shared.problem

Class com.topcoder.shared.problem.ArrayValue implements Serializable

Serialized Fields

values

java.util.ArrayList values
The list of values in the array.

Class com.topcoder.shared.problem.CharacterValue implements Serializable

Serialized Fields

value

char value
The character value.

Class com.topcoder.shared.problem.Constraint implements Serializable

Serialized Fields

param

java.lang.String param
Information passed in the constructor.

Class com.topcoder.shared.problem.DataType implements Serializable

Serialized Fields

typeMapping

java.util.HashMap typeMapping
A HashMap containing all of the language->descriptor mappings that are defined for this data type. Each mapping is from Integer to String, and should be populated with information obtained from the data_type_mapping table.


id

int id
Unique identifier of the data type


description

java.lang.String description
Descriptor for the datatype


baseName

java.lang.String baseName
The base name of a data type is the type of elements it ultimately contains (regardless of dimensionality). E.g., the base name of String[][] is String.


dim

int dim
The dimensionality of a data type refers to how many dimensions the type has. 1, etc. E.g., the dimensionality of String[][] is 2.

Class com.topcoder.shared.problem.DataValue implements Serializable

Class com.topcoder.shared.problem.DataValueParseException implements Serializable

Serialized Fields

message

java.lang.String message
The exception message.


line

int line
The line on which the exception occurred.


column

int column
The column on which the exception occurred.

Class com.topcoder.shared.problem.DecimalValue implements Serializable

Serialized Fields

value

double value
The value of the double.

Class com.topcoder.shared.problem.IntegralValue implements Serializable

Serialized Fields

value

long value
The embedded value.

Class com.topcoder.shared.problem.InvalidTypeException implements Serializable

Class com.topcoder.shared.problem.MaxSizeConstraint implements Serializable

Class com.topcoder.shared.problem.MinSizeConstraint implements Serializable

Class com.topcoder.shared.problem.NodeElement implements Serializable

Serialized Fields

name

java.lang.String name
Name of the node.


attributes

java.util.HashMap attributes
Attributes of the node - may be empty.


children

java.util.ArrayList children
The children of the node.


text

java.lang.String text
Text for the node.

Class com.topcoder.shared.problem.Problem implements Serializable

Serialized Fields

problemComponents

ProblemComponent[] problemComponents
The components within the problem

See Also:
ProblemComponent

problemId

int problemId
The unique identifier of the problem


name

java.lang.String name
The name of the problem


problemTypeID

int problemTypeID
The problem type


problemText

java.lang.String problemText
Text for the problem


webServices

WebService[] webServices
The webservices available to the problem

See Also:
WebService

Class com.topcoder.shared.problem.ProblemComponent implements Serializable

Serialized Fields

unsafe

boolean unsafe
If true, the problem statment contains sensitive information that should only be available within MPSQAS


valid

boolean valid
A problem statement is valid if it was successfully parsed without errors.


messages

java.util.ArrayList messages
List of ProblemMessages generated by the parsing process.

See Also:
ProblemMessage

name

java.lang.String name
The problem name


intro

Element intro
The 'intro' is the required introductory text for a problem statement (shown before the signature).

See Also:
TextElement

className

java.lang.String className
The name of the class that should be defined in solutions to this problem.


methodName

java.lang.String methodName
The name of the method that should be defined in solutions to this problem.


returnType

DataType returnType
The return type of the method that should be defined in solutions to this problem.

See Also:
DataType

paramTypes

DataType[] paramTypes
The data type of all of the arguments to the method that should be defined in solutions to this problem.

See Also:
DataType

paramNames

java.lang.String[] paramNames
The names of the arguments to the method that should be defined in solutions to this problem.


spec

Element spec
The 'spec' is the optional text following the signature, typically giving more technical information about the problem.

See Also:
TextElement

notes

Element[] notes
The list of notes.

See Also:
Element

constraints

Constraint[] constraints
The list of constraints

See Also:
Constraint

testCases

TestCase[] testCases
The list of test cases

See Also:
TestCase

componentTypeID

int componentTypeID
The component type ID


componentId

int componentId
The unique identifier of the component


problemId

int problemId
The unique identifier of the problem


defaultSolution

java.lang.String defaultSolution
The default solution (ie starting code)

Class com.topcoder.shared.problem.ProblemMessage implements Serializable

Serialized Fields

type

int type
The type of a message is one of WARNING, ERROR, or FATAL_ERROR.


line

int line
The line in the problem statement XML to which the message corresponds (if known).


column

int column
The column in the problem statement XML to which the message corresponds (if known).


message

java.lang.String message
The content of the message.

Class com.topcoder.shared.problem.Range implements Serializable

Serialized Fields

min

java.lang.String min
The minimum of the range.


max

java.lang.String max
The maximum of the range.

Class com.topcoder.shared.problem.SimpleComponent implements Serializable

Serialized Fields

problemID

int problemID

componentID

int componentID

componentTypeID

int componentTypeID

className

java.lang.String className

methodName

java.lang.String methodName

paramTypes

DataType[] paramTypes

returnType

DataType returnType

webServiceDependencies

java.lang.Long[] webServiceDependencies

Class com.topcoder.shared.problem.SizeConstraint implements Serializable

Serialized Fields

size

int size
The size.


dimension

int dimension
The dimension the size applies to.


paramName

java.lang.String paramName
The parameter name.

Class com.topcoder.shared.problem.StringValue implements Serializable

Serialized Fields

value

java.lang.String value
The string value.

Class com.topcoder.shared.problem.TestCase implements Serializable

Serialized Fields

input

java.lang.String[] input
Input to the test case represented as strings.


output

java.lang.String output
The output of the test case.


text

java.lang.String text
The XML representation of the annotation.


annotation

Element annotation
Element representing the writer's notes about the test case.

See Also:
Element

example

boolean example
Whether this test case is an example or a system test case.

Class com.topcoder.shared.problem.TextElement implements Serializable

Serialized Fields

text

java.lang.String text
The text for the element.

Class com.topcoder.shared.problem.UserConstraint implements Serializable

Serialized Fields

elem

Element elem
Not null when the constraint references another element.


text

java.lang.String text
Not null when the constraint references some text.

Class com.topcoder.shared.problem.ValidValuesConstraint implements Serializable

Serialized Fields

validValues

java.util.ArrayList validValues
An ArrayList where each element is an instance of Value or Range, and the valid elements are those elements in any one of the Ranges or Values.


paramName

java.lang.String paramName
The name of the parameter.


dimension

int dimension
The name of the dimension this constraint refers to.

Class com.topcoder.shared.problem.Value implements Serializable

Serialized Fields

value

java.lang.String value
The value.

Class com.topcoder.shared.problem.WebService implements Serializable

Serialized Fields

name

java.lang.String name
The name of the web service.


javaDocAddress

java.lang.String javaDocAddress
The javadoc address for the web service.


webServiceId

int webServiceId
The unique identifier for the web service.


problemId

int problemId
The unique problem identifer of the related problem.