Examples of className()


Examples of com.sun.jdo.api.persistence.enhancer.impl.ClassControl.className()

            // create class control
            cc = new ClassControl(cfs, cf, env);
            env.addClass(cc);

            // get real class name
            final String className = cc.className();
            cfs.setExpectedClassName(className);
        } catch (IOException ex) {
            //@olsen: support for I18N
            throw new UserException(
                getI18N("enhancer.io_error_while_reading_stream"),//NOI18N
View Full Code Here

Examples of com.webobjects.eoaccess.EOAttribute.className()

            EOEntity destinationEntity = relationship.destinationEntity();
            selectedAttribute = destinationEntity.attributeNamed(key);
        } else {
            selectedAttribute = entity.attributeNamed(key);
        }
        return selectedAttribute.className();
    }

    public String formatterForKey(String key) {
        String formatter = null;
        if (hasBinding("formatter")) {
View Full Code Here

Examples of com.webobjects.eoaccess.EOEntity.className()

         */
        protected void registerDescriptionForEntitiesInModel(EOModel model) {
            if (!_registeredModelNames.containsObject(model.name())) {
                for (Enumeration e = model.entities().objectEnumerator(); e.hasMoreElements();) {
                    EOEntity eoentity = (EOEntity)e.nextElement();
                    String className = eoentity.className();

                    prepareEntityForRegistration(eoentity);

                    NSMutableArray array = (NSMutableArray)_entitiesForClass.objectForKey(className);
                    if(array == null) {
View Full Code Here

Examples of edu.buffalo.cse.ir.wikiindexer.tokenizer.rules.RuleClass.className()

      try {
        Class cls = Class.forName(className);
        Constructor[] cnstrs = cls.getDeclaredConstructors();
        Class[] ptypes;
        RuleClass rclass = (RuleClass) cls.getAnnotation(RuleClass.class);
        String rval = rclass.className().toString();
        isPreTokenization =  (preTknRuleSet != null && preTknRuleSet.contains(rval));
       
        for (Constructor temp : cnstrs) {
          ptypes = temp.getParameterTypes();
          if (ptypes.length == 0) {
View Full Code Here

Examples of etch.compiler.ast.Builtin.className()

      Named<?> n = type.getNamed( type.intf() );

      if (n.isBuiltin())
      {
        Builtin b = (Builtin) n;
        String cn = b.className();
        if (cn.endsWith( "?" ))
          cn = cn.substring( 0, cn.length()-1 );
       
        return String.format( "Validator_custom.Get( typeof(%s), %d, %s )",
          cn, type.dim(), b.allowSubclass() );
View Full Code Here

Examples of eu.planets_project.services.datatypes.ServiceDescription.Builder.classname()

            inputFormats.addAll(formatRegistry.getUrisForExtension(extension));
        }
        Builder builder = new ServiceDescription.Builder("New Zealand Metadata Extractor Service",
                Characterise.class.getName());
        builder.author("Fabian Steeg");
        builder.classname(this.getClass().getName());
        builder
                .description("Metadata extraction service based on the Metadata Extraction Tool of the National "
                        + "Library of New Zealand (patched 3.4GA).");
        builder.serviceProvider("The Planets Consortium");
        builder.tool(Tool.create(null, "New Zealand Metadata Extractor", "3.4GA (patched)", null,
View Full Code Here

Examples of javassist.bytecode.EnclosingMethodAttribute.className()

                    // maybe anonymous or local class.
                    EnclosingMethodAttribute ema
                        = (EnclosingMethodAttribute)cf.getAttribute(
                                                    EnclosingMethodAttribute.tag);
                    if (ema != null)
                        return classPool.get(ema.className());
                }
            }

        return null;
    }
View Full Code Here

Examples of javax.xml.ws.RequestWrapper.className()

    private Object buildPayloadFromRequest(Object[] args) {

        RequestWrapper ann = getMethod().getAnnotation(RequestWrapper.class);
        assert ann != null : "failed to get request wrapper annotation";
           
        Object wrapper = createWrapperInstance(ann.className());
        int argIndex = 0;

        Collection<WebParam> annotations = getWebParamAnnotations(getMethod());

        for (WebParam wp : annotations) {
View Full Code Here

Examples of javax.xml.ws.RequestWrapper.className()

        RequestWrapper reqWrapper = m.getAnnotation(RequestWrapper.class);
        ResponseWrapper respWrapper = m.getAnnotation(ResponseWrapper.class);
       
        if (reqWrapper != null) {
            return payload.getClass().getName().equals(reqWrapper.className());
        } else if (respWrapper != null) {
            return !payload.getClass().getName().equals(respWrapper.className());
        }
        return true;
    }
View Full Code Here

Examples of javax.xml.ws.RequestWrapper.className()

            }
            try {
                //Get the RequestWrapper
                RequestWrapper reqWrapper = meth.getAnnotation(RequestWrapper.class);
                if (reqWrapper != null) {
                    Class cls = Class.forName(reqWrapper.className(), false,
                                        loader);
                    addClass(cls, classes);
                }
                //Get the RequestWrapper
                ResponseWrapper respWrapper = meth.getAnnotation(ResponseWrapper.class);
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.