Search in sources :

Example 6 with Date

use of doc.attributes.Date in project OpenNotebook by jaltekruse.

the class BasicArithmeticExpression method setAttributes.

@Override
protected void setAttributes() {
    setName("Basic Arithmetic Expression");
    setAuthor("Open Notebook Staff");
    setDirections("Simplify.");
    try {
        this.setAttributeValue(UUID_STR, new UUID(4234031236056521345L, 2345748762121345701L));
        getTags().addValueWithString("Arithmetic");
        getTags().addValueWithString("Addition");
        getTags().addValueWithString("Subtraction");
        getTags().addValueWithString("Multiplication");
        getTags().addValueWithString("Dividison");
        getTags().addValueWithString("Integers");
    } catch (AttributeException e) {
        // should not be thrown
        throw new RuntimeException(e);
    }
    setDate(new Date(2, 1, 2011));
}
Also used : UUID(java.util.UUID) AttributeException(doc.attributes.AttributeException) Date(doc.attributes.Date)

Example 7 with Date

use of doc.attributes.Date in project OpenNotebook by jaltekruse.

the class BasicAssociativeProperty method setAttributes.

@Override
protected void setAttributes() {
    setName("Basic Associative Property Problem");
    setAuthor("Open Notebook Staff");
    setDirections("Simplify. Use the associative and commutative properties of addition and multiplication" + " to reorder and regroup the numbers into easier calculations.");
    try {
        this.setAttributeValue(UUID_STR, new UUID(4470592837206498305L, 1948027489360475701L));
        getTags().addValueWithString("Arithmetic");
        getTags().addValueWithString("Addition");
        getTags().addValueWithString("Multiplication");
        getTags().addValueWithString("Integers");
        getTags().addValueWithString("Mental Math");
    } catch (AttributeException e) {
        // should not be thrown
        throw new RuntimeException(e);
    }
    setDate(new Date(2, 1, 2011));
}
Also used : UUID(java.util.UUID) AttributeException(doc.attributes.AttributeException) Date(doc.attributes.Date)

Example 8 with Date

use of doc.attributes.Date in project OpenNotebook by jaltekruse.

the class AdditionPropertyOfEquality method setAttributes.

@Override
protected void setAttributes() {
    setName("One Step Equations, Addition/Subtraction");
    setAuthor("Open Notebook Staff");
    setDirections("Solve for the unknown variable.");
    try {
        setAttributeValue(UUID_STR, new UUID(4190756403957524305L, 3562395472104360419L));
        addTags("Solve", "Addition", "Subtraction", "Equation");
    } catch (AttributeException e) {
        // should not be thrown
        throw new RuntimeException(e);
    }
    setDate(new Date(2, 1, 2011));
}
Also used : UUID(java.util.UUID) AttributeException(doc.attributes.AttributeException) Date(doc.attributes.Date)

Example 9 with Date

use of doc.attributes.Date in project OpenNotebook by jaltekruse.

the class BasicAdditionWithNegatives method setAttributes.

@Override
protected void setAttributes() {
    setName("Basic Addition with Negatives");
    setAuthor("Open Notebook Staff");
    setDirections("Simplify.");
    try {
        this.setAttributeValue(UUID_STR, new UUID(28463475628230495L, 3540572839103937290L));
        getTags().addValueWithString("Arithmetic");
        getTags().addValueWithString("Addition");
        getTags().addValueWithString("Integers");
        getTags().addValueWithString("Negative Numbers");
        getTags().addValueWithString("Subtraction");
        getTags().addValueWithString("Negation");
    } catch (AttributeException e) {
        // should not be thrown
        throw new RuntimeException(e);
    }
    setDate(new Date(2, 1, 2011));
}
Also used : UUID(java.util.UUID) AttributeException(doc.attributes.AttributeException) Date(doc.attributes.Date)

Aggregations

AttributeException (doc.attributes.AttributeException)9 Date (doc.attributes.Date)9 UUID (java.util.UUID)9