Examples of Entity


Examples of net.sf.arianne.marboard.client.entity.Entity

      return new StraightLine(rpobject);
    } else if (rpclass.equals("oval")) {
      return new Oval(rpobject);
    } else {
      logger.error("Unknown Entity class " + rpclass + ": " + rpobject);
      return new Entity(rpobject);
    }
  }
View Full Code Here

Examples of net.sf.minuteProject.configuration.bean.enrichment.Entity

    if (target != null) {
      Field f = new Field();
      f.setName(column.getName());
      f.setLinkToTargetEntity(target.getName());
      f.setLinkToTargetField(TableUtils.getPrimaryKey(target));
      Entity entity = new Entity();
      entity.setName(table.getName());
      f.setEntity(entity);
      f.setBidirectional("true");
      return f;
    }
    return null;
View Full Code Here

Examples of net.sf.minuteProject.configuration.bean.model.Entity

  public String getEditURL (String tableName, String field, String entity) {
    return getDefaultRootURLBeginner()+"?table="+tableName+"&"+ACTION_NAME+"=edit&"+DBTemplateUtils.getJavaNameVariable(field)+"=<c:out value=\"${"+entity+"."+DBTemplateUtils.getJavaNameVariable(field)+"}\"/>"
 

  public String getSearchByIdURL (LogicalLink link) {
    Entity linkEntity= link.getEntity();
    return getSearchByIdURL(linkEntity.getRefname(),((Field) linkEntity.getFields().get(0)).getRefname());
  }
View Full Code Here

Examples of net.sourceforge.jpaxjc.ns.persistence.orm.Entity

    {
        if ( !this.mappedClasses.contains( c.implClass.binaryName() ) )
        {
            boolean mapped = false;

            Entity entity = null;
            if ( c.target.getCustomizations().find( ORM_NS, "entity" ) != null )
            {
                final CPluginCustomization pc = c.target.getCustomizations().find( ORM_NS, "entity" );
                entity = JAXB.unmarshal( new DOMSource( pc.element ), Entity.class );

                orm.getEntity().add( entity );
                this.toEntity( outline, c, entity );

                mapped = true;

                if ( !pc.isAcknowledged() )
                {
                    pc.markAsAcknowledged();
                }
            }

            if ( !mapped )
            {
                // Defaults to create an entity per class.
                entity = new Entity();
                String name = c.implClass.binaryName();
                entity.setClazz( name );

                final String pkgName = c.implClass.getPackage().name();
                if ( pkgName != null && pkgName.length() > 0 )
                {
                    name = name.substring( pkgName.length() + 1 );
                }

                entity.setName( name );
                orm.getEntity().add( entity );
                this.toEntity( outline, c, entity );
                mapped = true;
            }

            this.mappedClasses.add( entity.getClazz() );
        }
    }
View Full Code Here

Examples of org.andromda.metafacades.uml.Entity

        for (ClassifierFacade superClass = (ClassifierFacade)this.getGeneralization(); superClass != null && follow;
            superClass = (ClassifierFacade)superClass.getGeneralization())
        {
            if (Entity.class.isAssignableFrom(superClass.getClass()))
            {
                Entity entity = (Entity)superClass;
                queryOperations.addAll(entity.getQueryOperations());
            }
        }
        return queryOperations;
    }
View Full Code Here

Examples of org.apache.axis.types.Entity

        return new Entities(Caster.toString(value));
    }
   
    private static Entity toEntity(Object value) throws PageException {
        if(value instanceof Entity) return (Entity) value;
        return new Entity(Caster.toString(value));
    }
View Full Code Here

Examples of org.apache.axis2.databinding.types.Entity

    public static Entity convertToENTITY(String s) {
        if ((s == null) || s.equals("")){
            return null;
        }
        return new Entity(s);
    }
View Full Code Here

Examples of org.apache.cayenne.map.Entity

            return new ObjAttribute(name, null, (ObjEntity) namingContext);
        }

        @Override
        protected boolean isNameInUse(String name, Object namingContext) {
            Entity ent = (Entity) namingContext;
            return ent.getAttribute(name) != null;
        }
View Full Code Here

Examples of org.apache.falcon.entity.v0.Entity

    }

    private Entity getEntity(HttpServletRequest request, String type) {
        try {
            request.getInputStream().reset();
            Entity entity = deserializeEntity(request, EntityType.valueOf(type.toUpperCase()));
            request.getInputStream().reset();
            return entity;
        } catch (Exception e) {
            throw FalconWebException.newException(e, Response.Status.BAD_REQUEST);
        }
View Full Code Here

Examples of org.apache.ivory.entity.v0.Entity

            System.out.println(xml);
            store(EntityType.valueOf(type.toUpperCase()), xml);
        }

        entity = args[2];
        Entity obj = EntityUtil.getEntity(type, entity);
        Process newEntity = (Process)obj.clone();
        newEntity.setFrequency(Frequency.fromString("minutes(5)"));
        System.out.println("##############OLD ENTITY " + EntityUtil.md5(obj));
        System.out.println("##############NEW ENTITY " + EntityUtil.md5(newEntity));

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.