Examples of type()


Examples of org.apache.tuscany.sca.binding.corba.provider.meta.CorbaUnionElement.type()

        for (int i = 0; i < forClass.getDeclaredFields().length; i++) {
            CorbaUnionElement note = forClass.getDeclaredFields()[i].getAnnotation(CorbaUnionElement.class);
            if (note != null) {
                int fieldMod = forClass.getDeclaredFields()[i].getModifiers();
                if (Modifier.isPrivate(fieldMod) && !Modifier.isFinal(fieldMod) && !Modifier.isStatic(fieldMod)) {
                    if (note.type().equals(CorbaUnionElementType.discriminator)) {
                        if (discriminatorPresent) {
                            throw new RequestConfigurationException(
                                                                    "More than one discriminators declared on: " + forClass);
                        }
                        discriminatorPresent = true;
View Full Code Here

Examples of org.apache.wink.server.utils.SingleLinkBuilder.type()

        @Produces("application/atom+xml")
        public String getAtom(@Context LinkBuilders builders) {
            List<SyndLink> links = new ArrayList<SyndLink>();
            SingleLinkBuilder singleLinkBuilder = builders.createSingleLinkBuilder();

            singleLinkBuilder.type(MediaType.APPLICATION_ATOM_XML_TYPE).build(links);
            assertEquals(1, links.size());
            assertLink(links,
                       null,
                       MediaType.APPLICATION_ATOM_XML,
                       "singleLinkAltParam?alt=application%2Fatom%2Bxml");
View Full Code Here

Examples of org.apache.xmpbox.type.PropertyType.type()

                                    throw new XmpParsingException(ErrorType.RequiredProperty,
                                            "Missing field in property definition");
                                }
                                // check ptype existance
                                PropertyType pt = transformValueType(tm, ptype);
                                if (pt.type() == null)
                                {
                                    throw new XmpParsingException(ErrorType.NoValueType, "Type not defined : " + ptype);
                                }
                                else if (pt.type().isSimple() || pt.type().isStructured()
                                        || pt.type() == Types.DefinedType)
View Full Code Here

Examples of org.apache.yoko.orb.CORBA.Any.type()

            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        checkValue(any, org.omg.CORBA.TCKind.tk_boolean);

        any.replace(any.type(), Boolean.valueOf(value));

        notifyParent();
    }

    public synchronized void insert_octet(byte value)
View Full Code Here

Examples of org.atmosphere.cpr.Action.type()

                response.setHeader("Transfer-Encoding", "chunked");
            }

            a = framework.doCometSupport(request, response);
            if (forceSuspend) {
                a.type(Action.TYPE.SUSPEND);
                // leave the stream open
                keptOpen = true;
            }

            String transport = (String) request.getAttribute(FrameworkConfig.TRANSPORT_IN_USE);
View Full Code Here

Examples of org.boco.seamwebappgen.annotations.ShowInForm.type()

        {
          // Il campo ha una annotazione @ShowInForm

          ShowInForm annotation = fields[j].getAnnotation(ShowInForm.class);

          attr.setImplementationType(annotation.type());

          attr.setOrderInForm(annotation.order());

          attr.setOnCreateIf(annotation.onCreateIf());
          attr.setOnEditIf(annotation.onEditIf());
View Full Code Here

Examples of org.bukkit.WorldCreator.type()

                                return null;
                            }
                            // Add special case for creating null worlds.
                            // Not sure I like doing it this way, but this is a special case
                            if (arg.name().equalsIgnoreCase("nullworld")) {
                                return MockWorldFactory.makeNewNullMockWorld(arg.name(), arg.environment(), arg.type());
                            }
                            return MockWorldFactory.makeNewMockWorld(arg.name(), arg.environment(), arg.type());
                        }
                    });
View Full Code Here

Examples of org.caffinitas.mapper.annotations.CColumn.type()

            boolean allowNotExists = ignore != null && ignore.notExists();
            boolean ignoreTypeMismatch = ignore != null && ignore.typeMismatch();
            boolean staticCol = column != null && column.isStatic();

            DataType dataType = column != null ? column.type().getDataType() : null;
            if (dataType == null) {
                dataType = ParseAttribute.guessDataTypeName(cTypes[i], null, accessor.accessible()).getDataType();
            }

            CqlColumn cqlColumn =
View Full Code Here

Examples of org.caffinitas.mapper.annotations.CInheritance.type()

                    if (inheritance == null) {
                        throw new ModelUseException(
                            "inherited entity root is not annotated with @" + CInheritance.class.getSimpleName());
                    }
                    // base entity of inheritance structure
                    switch (inheritance.type()) {
                        case SINGLE_TABLE:
                            entity = new MappedEntitySTRoot(this, parseEntity);
                            break;
                        case TABLE_PER_CLASS:
                            entity = new MappedEntityTPCRoot(this, parseEntity);
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseSentryPartQueryImpl.type()

    CaseSentryPartQueryImpl query = createCaseSentryPartQuery();

    assertEquals(2, query.count());

    CaseSentryPartEntity part = query
        .type(CmmnSentryDeclaration.IF_PART)
        .singleResult();

    assertEquals(caseInstanceId, part.getCaseExecutionId());
    assertEquals(caseInstanceId, part.getCaseInstanceId());
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.