Examples of Name


Examples of com.habitsoft.kiyaa.util.Name

  /**
   * Get a parameter name, taking into account the @Name annotation, if present.
   */
  public static String getParameterName(JParameter parameter) {
    Name parameterNameAnnotation = parameter.getAnnotation(Name.class);
    String parameterName = parameterNameAnnotation!=null?parameterNameAnnotation.value():parameter.getName();
    return parameterName;
  }
View Full Code Here

Examples of com.icollege.model.person.Name

  @BeforeClass
  public static void setUp() {
    ICollege.currentEntityManager();
    user = ICollege.getUserService().createUser("userId1",
        new Name("first", "middle", "last"));
  }
View Full Code Here

Examples of com.inspiresoftware.lib.dto.geda.benchmark.domain.Name

    public Object fromDto(final Object dto) {

        final Person person = new Person();
        final PersonWithHistoryDTO personDTO = (PersonWithHistoryDTO) dto;

        person.setName(new Name(personDTO.getFirstName(), personDTO.getLastName()));

        if (personDTO.getCurrentAddress() != null) {
            final AddressDTO addressDTO = personDTO.getCurrentAddress();
            final Address address = fromAddressDTO(addressDTO);
View Full Code Here

Examples of com.jclark.xsl.om.Name

            return _cdataSectionElements == null ? null : getValue(0);
        }

        int ns = nameString.lastIndexOf(OutputMethodHandler.namespaceSeparator);

        Name name;
        if (ns < 0) {
            name = toName("", nameString);
        } else {
            name = toName(nameString.substring(0, ns),
                          nameString.substring(ns + 1));
View Full Code Here

Examples of com.linkedin.data.schema.Name

    return params;
  }

  private List<Parameter<?>> getEnumParams()
  {
    EnumDataSchema simpleEnumSchema = new EnumDataSchema(new Name("com.linkedin.restli.common.test.SimpleEnum"));
    simpleEnumSchema.setSymbols(Arrays.asList(new String[]{"A", "B", "C"}), null);
    List<Parameter<?>> enumParams = new ArrayList<Parameter<?>>();
    enumParams.add(new Parameter<SimpleEnum>(
        "simpleEnum",
        SimpleEnum.class,
View Full Code Here

Examples of com.sun.enterprise.admin.common.Name

     * @return parsed dotted name as an object
     */
    private ParsedDottedName parseDottedName(String dottedString, String command)
           throws MalformedNameException {
        ArrayList tokenList = new ArrayList();
        Name dottedName = new Name(dottedString);
        int  nTokens = dottedName.getNumParts();
        if (nTokens < 1) {
      String msg = localStrings.getString( "admin.monitor.name_does_not_contain_any_tokens", dottedString );
            throw new MalformedNameException( msg );
        }
        for (int j = 0; j < nTokens; j++) {
            tokenList.add(dottedName.getNamePart(j).toString());
        }
        return parseTokens(tokenList, command, dottedString);
    }
View Full Code Here

Examples of com.sun.enterprise.admin.meta.naming.Name

    }

    //**************************************************************************
    public MBeanRegistryEntry[] findMBeanRegistryEntriesByDottedName(String dottedName)
    {
        Name name;
        try {
             name = new Name(dottedName);
        } catch (Exception e)
        {
            return null;
        }
        ArrayList list = new ArrayList();
View Full Code Here

Examples of com.sun.tools.javac.util.Name

            if (owner == null) return name;
            if (((owner.kind != ERR)) &&
                ((owner.kind & (VAR | MTH)) != 0
                 || (owner.kind == TYP && owner.type.tag == TYPEVAR)
                 )) return name;
            Name prefix = owner.getQualifiedName();
            if (prefix == null || prefix == prefix.table.names.empty)
                return name;
            else return prefix.append('.', name);
        }
View Full Code Here

Examples of com.sun.xml.bind.v2.runtime.Name

        super(grammar, prop, prop.getXmlName(), prop.isCollectionNillable());
        this.prop = prop;

        List<? extends RuntimeTypeRef> types = prop.getTypes();

        Name n = null;

        for (RuntimeTypeRef typeRef : types) {
            Class type = (Class)typeRef.getTarget().getType();
            if(type.isPrimitive())
                type = RuntimeUtil.primitiveToBox.get(type);
View Full Code Here

Examples of com.sun.xml.internal.bind.v2.runtime.Name

        super(grammar, prop, prop.getXmlName(), prop.isCollectionNillable());
        this.prop = prop;

        List<? extends RuntimeTypeRef> types = prop.getTypes();

        Name n = null;

        for (RuntimeTypeRef typeRef : types) {
            Class type = (Class)typeRef.getTarget().getType();
            if(type.isPrimitive())
                type = RuntimeUtil.primitiveToBox.get(type);
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.