Package anvil.brain

Examples of anvil.brain.Dimension


  {
    if (parameters.length < 1) {
      throw parametersMissing(context, "create");
    }
    try {
      Dimension dim = _synapse.createDimension(parameters[0].toString());
      return (dim != null) ? new AnyDimension(dim) : UNDEFINED;
    } catch (OperationFailedException e)  {
      throw context.exception(e);
    }
  }
View Full Code Here


  {
    if (parameters.length < 1) {
      throw parametersMissing(context, "dim");
    }
    try {
      Dimension dim = _synapse.getOrCreateDimension(parameters[0].toString());
      return (dim != null) ? new AnyDimension(dim) : UNDEFINED;
    } catch (OperationFailedException e)  {
      throw context.exception(e);
    }
  } 
View Full Code Here

  {
    if (parameters.length < 1) {
      throw parametersMissing(context, "get");
    }
    try {
      Dimension dim = _synapse.getDimension(parameters[0].toString());
      return (dim != null) ? new AnyDimension(dim) : UNDEFINED;
    } catch (OperationFailedException e)  {
      throw context.exception(e);
    }
  }
View Full Code Here

TOP

Related Classes of anvil.brain.Dimension

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.