Search in sources :

Example 1 with Date

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

the class BasicDistributiveProperty method setAttributes.

@Override
protected void setAttributes() {
    setName("Basic Distribution");
    setAuthor("Open Notebook Staff");
    setDirections("Simplify.");
    try {
        setAttributeValue(UUID_STR, new UUID(41209481357524305L, 3562391204983210319L));
        addTags("Distribution", "multiplication", "linear factor", "simplify");
    } 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 2 with Date

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

the class PropertyOfOppositiesWithVariables method setAttributes.

@Override
protected void setAttributes() {
    setName("Property of Opposites");
    setAuthor("Open Notebook Staff");
    setDirections("Simplify.");
    try {
        this.setAttributeValue(UUID_STR, new UUID(282395472492378295L, 1905635205832531290L));
        getTags().addValueWithString("Arithmetic");
        getTags().addValueWithString("Addition");
        getTags().addValueWithString("Integers");
        getTags().addValueWithString("Negative Numbers");
        getTags().addValueWithString("Opposities");
        getTags().addValueWithString("Cancel terms");
        getTags().addValueWithString("Variables");
    } 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 3 with Date

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

the class AssociativePropertiesWithVariables method setAttributes.

@Override
protected void setAttributes() {
    setName("Associative Property Problem With Variables");
    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(4190756404850524305L, 3560661854204360419L));
        getTags().addValueWithString("Arithmetic");
        getTags().addValueWithString("Addition");
        getTags().addValueWithString("Multiplication");
        getTags().addValueWithString("Integers");
        getTags().addValueWithString("Variables");
        getTags().addValueWithString("Mental Math");
    } catch (AttributeException e) {
        // should not be thrown
        throw new RuntimeException("error that should not happen in BaiscArithmaticExpression");
    }
    setDate(new Date(2, 1, 2011));
}
Also used : UUID(java.util.UUID) AttributeException(doc.attributes.AttributeException) Date(doc.attributes.Date)

Example 4 with Date

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

the class BasicAddition method setAttributes.

@Override
protected void setAttributes() {
    setName("Basic Addition");
    setAuthor("Open Notebook Staff");
    setDirections("Simplify.");
    try {
        this.setAttributeValue(UUID_STR, new UUID(2846184626069213495L, 3575720896865422970L));
        addTags("Arithmetic", "Addition", "Integers");
    } catch (AttributeException e) {
        // should not be thrown
        e.printStackTrace();
    }
    setDate(new Date(2, 1, 2011));
}
Also used : UUID(java.util.UUID) AttributeException(doc.attributes.AttributeException) Date(doc.attributes.Date)

Example 5 with Date

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

the class BasicAdditionAndSubraction method setAttributes.

@Override
protected void setAttributes() {
    setName("Basic Addition and Subtraction");
    setAuthor("Open Notebook Staff");
    setDirections("Simplify.");
    try {
        this.setAttributeValue(UUID_STR, new UUID(282048723434478295L, 3549720219560301290L));
        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