Examples of booleanValue()


Examples of ariba.ui.aribaweb.core.AWBinding.booleanValue()

    // Awake
    /////////////
    protected void awake ()
    {
        AWBinding binding = bindingForName(AWBindingNames.isVisible);
        _isVisible = binding == null ? true : binding.booleanValue(parent());
    }

    protected void sleep ()
    {
        _isVisible = false;
View Full Code Here

Examples of booton.translator.annotation.PrimitiveMarker.booleanValue()

        PrimitiveMarker annotation = Annotated.class.getAnnotation(PrimitiveMarker.class);
        assert annotation != null;
        assert annotation instanceof Annotation;
        assert annotation instanceof PrimitiveMarker;
        assert annotation.intValue() == 5;
        assert annotation.booleanValue();
        assert annotation.longValue() == 10;
        assert annotation.annotationType() == PrimitiveMarker.class;

        assert annotation == Annotated.class.getAnnotation(PrimitiveMarker.class);
    }
View Full Code Here

Examples of com.dtrules.interpreter.IRObject.booleanValue()

      public void execute(DTState state) throws RulesException {
          IRObject o2 = state.datapop();
          IRObject o1 = state.datapop();
          boolean r = false;
          try{
              r = o1.booleanValue() == o2.booleanValue();
          }catch(RulesException e){}   // Ignore any failures, and simply fail.
         
        state.datapush(RBoolean.getRBoolean(r)  );
      }
    }   
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangAtom.booleanValue()

    public static boolean isRunning(final IOtpRpc backend) {
        try {
            final OtpErlangObject o = backend.call(ERLIDE_DEBUG, "is_running", "");
            if (o instanceof OtpErlangAtom) {
                final OtpErlangAtom atom = (OtpErlangAtom) o;
                return atom.booleanValue();
            }
        } catch (final RpcException e) {
            ErlLogger.error(e);
        }
        return false;
View Full Code Here

Examples of com.fasterxml.jackson.databind.JsonNode.booleanValue()

  protected Boolean getNodeBooleanValue(final ObjectNode recordNode,
      final String fieldName) {
        JsonNode fieldNode = findFieldNode(recordNode, fieldName);
        switch (fieldNode.getNodeType()) {
            case BOOLEAN:
                return fieldNode.booleanValue();
            case STRING:
                return Boolean.valueOf(
                        fieldNode.textValue());
            default:
                throw new JsonDeserializationException(
View Full Code Here

Examples of com.fasterxml.jackson.databind.node.BooleanNode.booleanValue()

        if (node instanceof ObjectNode) {
            JsonSchema innerSchema = mapper.readValue(nodeStr, JsonSchema.class);
            return new ObjectSchema.SchemaAdditionalProperties(innerSchema);
        } else if (node instanceof BooleanNode) {
            BooleanNode booleanNode = (BooleanNode) node;
            if (booleanNode.booleanValue()) {
                return null; // "additionalProperties":true is the default
            } else {
                return ObjectSchema.NoAdditionalProperties.instance;
            }
        } else {
View Full Code Here

Examples of com.google.gwt.json.client.JSONBoolean.booleanValue()

      return true;
    }
    else if (v1.isBoolean() != null) {
      JSONBoolean b1 = v1.isBoolean();
      JSONBoolean b2 = v2.isBoolean();
      return b1.booleanValue() == b2.booleanValue();
    }
    else if (v1.isNull() != null) {
      // this case should never be triggered, because of the getClass() precheck above
      return v2.isNull() != null;
    }
View Full Code Here

Examples of com.google.template.soy.data.SoyData.booleanValue()

  public boolean getBoolean(String keyStr) {
    SoyData valueData = get(keyStr);
    if (valueData == null) {
      throw new IllegalArgumentException("Missing key: " + keyStr);
    }
    return valueData.booleanValue();
  }

  /**
   * Precondition: The specified key string is the path to an integer.
   * Gets the integer at the specified key string.
View Full Code Here

Examples of com.googlecode.aviator.runtime.type.AviatorObject.booleanValue()

        SeqPredicateFunction fun = new SeqPredicateFunction("le", OperatorType.LE, new AviatorRuntimeJavaType("hello"));

        AviatorObject args[] = new AviatorObject[1];
        args[0] = new AviatorRuntimeJavaType("hello");
        AviatorObject result = fun.call(null, args);
        assertTrue(result.booleanValue(null));

        args[0] = new AviatorRuntimeJavaType("ae1lo");
        result = fun.call(null, args);
        assertTrue(result.booleanValue(null));
View Full Code Here

Examples of com.ibm.jscript.types.FBSValue.booleanValue()

    fixDocUrl(item,baseDocUrl);
  }
 
  protected void fixSnippetUnid(ObjectObject o) throws Exception {
    FBSValue unid = o.get("unid");
    if(!unid.booleanValue()) {
      unid = FBSString.get(Node.encodeUnid(o.get("name").stringValue()));
      o.put("unid", unid);
    }
  }
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.