Examples of Identifier


Examples of org.apache.sandesha2.wsrm.Identifier

    Sequence sequence = new Sequence(rmNamespaceValue);
    MessageNumber msgNumber = new MessageNumber(rmNamespaceValue);
    msgNumber.setMessageNumber(1);
    sequence.setMessageNumber(msgNumber);
    Identifier id1 = new Identifier(rmNamespaceValue);
    id1.setIndentifer(uuid);
    sequence.setIdentifier(id1);
    applicationRMMsg.setMessagePart(Sandesha2Constants.MessageParts.SEQUENCE, sequence);
    applicationRMMsg.addSOAPEnvelope();

    // --------------------------------------------
View Full Code Here

Examples of org.eclipse.php.internal.core.ast.nodes.Identifier

  }

  public void testFunctionDeclarationCreationPHP4() throws Exception {
    String str = "<?php ?> ";
    initialize(str, PHPVersion.PHP4);
    Identifier name = ast.newIdentifier("foo");
    List<FormalParameter> formalParameters = new ArrayList<FormalParameter>();
    formalParameters.add(ast.newFormalParameter(null, ast.newVariable("a"),
        ast.newScalar("5"), false));
    formalParameters.add(ast.newFormalParameter(null, ast.newVariable("b"),
        ast.newScalar("'boobo'"), true));
View Full Code Here

Examples of org.exoplatform.services.jcr.datamodel.Identifier

      if (fragment != null)
      {
         if (fragment.startsWith("/"))
            this.path = fragment;
         else
            this.id = new Identifier(uri.getFragment());
      }
      else
         throw new URISyntaxException(fragment, "Neither Path nor Identifier defined!");

   }
View Full Code Here

Examples of org.hibernate.metamodel.relational.Identifier

    );
    final Schema schema = metadata.getDatabase().locateSchema( schemaName );

    final String tableName = attributeSource.getExplicitCollectionTableName();
    if ( StringHelper.isNotEmpty( tableName ) ) {
      final Identifier tableIdentifier = Identifier.toIdentifier(
          currentBindingContext.getNamingStrategy().tableName( tableName )
      );
      Table collectionTable = schema.locateTable( tableIdentifier );
      if ( collectionTable == null ) {
        collectionTable = schema.createTable( tableIdentifier );
View Full Code Here

Examples of org.hornetq.core.filter.impl.Identifier

   public void testIds() throws Exception
   {
      FilterParserTest.log.trace("parse(a + b * c / d = e)");
      Operator result = (Operator)parser.parse(new SimpleString("a + b * c / d = e"), identifierMap);
      // 4 + 2 * 3 / 2 = 7
      Identifier a = identifierMap.get(new SimpleString("a"));
      a.setValue(new Long(4));
      Identifier b = identifierMap.get(new SimpleString("b"));
      b.setValue(new Long(2));
      Identifier c = identifierMap.get(new SimpleString("c"));
      c.setValue(new Long(3));
      Identifier d = identifierMap.get(new SimpleString("d"));
      d.setValue(new Long(2));
      Identifier e = identifierMap.get(new SimpleString("e"));
      e.setValue(new Long(7));
      FilterParserTest.log.trace("result -> " + result);
      Boolean bool = (Boolean)result.apply();
      Assert.assertTrue("is true", bool.booleanValue());

   }
View Full Code Here

Examples of org.hxzon.asn1.mms.common.Identifier

        case Tag.CONTEXT | 1:
            return new EntryClass().init("entryClass", "entryClass", tag, stream);
        case Tag.CONTEXT | 2:
            return new ApplicationReference().init("applicationReference", "applicationReference", tag, stream);
        case Tag.CONTEXT | 3:
            return new Identifier().init("namedToken", "namedToken", tag, stream);
        case Tag.CONTEXT | 4:
            return new Priority().init("priority", "priority", tag, stream);
        case Tag.CONTEXT | 5:
            return Asn1Utils.createBerUnsigned32("remainingTimeOut", "remainingTimeOut", tag, stream);
        case Tag.CONTEXT | 6:
View Full Code Here

Examples of org.itsnat.impl.core.css.lex.Identifier

            return false;

        Token token0 = cssTextCode.getToken(0);
        if (!(token0 instanceof Identifier))
            return false;
        Identifier tokIdent = (Identifier)token0;

        Token token1 = cssTextCode.getToken(1);
        if (!(token1 instanceof ParenthesisBlock))
            return false;
        ParenthesisBlock tokBlock = (ParenthesisBlock)token1;

        String identif = tokIdent.toString();
        identif = identif.toLowerCase();

        if (identif.equals("url"))
        {
            this.primitiveType = CSS_URI;
View Full Code Here

Examples of org.jboss.jms.selector.Identifier

   public void testIds() throws Exception
   {
      log.trace("parse(a + b * c / d = e)");
      Operator result = (Operator) parser.parse("a + b * c / d = e", identifierMap);
      // 4 + 2 * 3 / 2 = 7
      Identifier a = (Identifier) identifierMap.get("a");
      a.setValue(new Long(4));
      Identifier b = (Identifier) identifierMap.get("b");
      b.setValue(new Long(2));
      Identifier c = (Identifier) identifierMap.get("c");
      c.setValue(new Long(3));
      Identifier d = (Identifier) identifierMap.get("d");
      d.setValue(new Long(2));
      Identifier e = (Identifier) identifierMap.get("e");
      e.setValue(new Long(7));
      log.trace("result -> "+result);
      Boolean bool = (Boolean) result.apply();
      assertTrue("is true", bool.booleanValue());
     
   }
View Full Code Here

Examples of org.jboss.jms.server.selector.Identifier

   public void testIds() throws Exception
   {
      log.trace("parse(a + b * c / d = e)");
      Operator result = (Operator) parser.parse("a + b * c / d = e", identifierMap);
      // 4 + 2 * 3 / 2 = 7
      Identifier a = (Identifier) identifierMap.get("a");
      a.setValue(new Long(4));
      Identifier b = (Identifier) identifierMap.get("b");
      b.setValue(new Long(2));
      Identifier c = (Identifier) identifierMap.get("c");
      c.setValue(new Long(3));
      Identifier d = (Identifier) identifierMap.get("d");
      d.setValue(new Long(2));
      Identifier e = (Identifier) identifierMap.get("e");
      e.setValue(new Long(7));
      log.trace("result -> "+result);
      Boolean bool = (Boolean) result.apply();
      assertTrue("is true", bool.booleanValue());
     
   }
View Full Code Here

Examples of org.jboss.seam.annotations.security.permission.Identifier

      {  
         String name = null;
        
         if (cls.isAnnotationPresent(Identifier.class))
         {
            Identifier identifier = (Identifier) cls.getAnnotation(Identifier.class);
            if (identifier.name() != null && !"".equals(name.trim()))
            {
               name = identifier.name();
            }
         }
        
         if (name == null)
         {
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.