Examples of IAuthor


Examples of org.apache.wookie.beans.IAuthor

     * created
     * @return an IAuthor instance
     */
    private IAuthor getOrCreateAuthor(){
      if (getAuthor() == null){
        IAuthor author = PersistenceManagerFactory.getPersistenceManager().newInstance(IAuthor.class);
        this.setAuthor(author);
      }
      return getAuthor();
    }
View Full Code Here

Examples of org.apache.wookie.w3c.IAuthor

    return widget;
  }
 
  private static void createAuthor(IPersistenceManager persistenceManager, W3CWidget model, IWidget widget){
     if (model.getAuthor() != null){
        IAuthor author = persistenceManager.newInstance(IAuthor.class);
        author.setAuthorName(model.getAuthor().getAuthorName());
        author.setEmail(model.getAuthor().getEmail());
        author.setHref(model.getAuthor().getHref());
        author.setDir(model.getAuthor().getDir());
        author.setLang(model.getAuthor().getLang());
        widget.setAuthor(author);
      }
  }
View Full Code Here

Examples of org.apache.wookie.w3c.IAuthor

                    widget = persistenceManager.newInstance(IWidget.class);
                    widget.setHeight(350);
                    widget.setWidth(500);
                    widget.setIdentifier("http://notsupported");
                   
                    IAuthor author = persistenceManager.newInstance(IAuthor.class);
                    author.setAuthorName("Paul Sharples");
                    author.setEmail("p.sharples@bolton.ac.uk");
                    author.setHref("http://iec.bolton.ac.uk");
                    widget.setAuthor(author);
                    widget.setVersion("v1.0");
                    IName widgetName = persistenceManager.newInstance(IName.class);
                    widgetName.setName("Unsupported widget widget");
                    widgetName.setShort("Unsupported");
View Full Code Here

Examples of org.apache.wookie.w3c.IAuthor

    return widget;
  }
 
  private static void createAuthor(IPersistenceManager persistenceManager, W3CWidget model, IWidget widget){
     if (model.getAuthor() != null){
        IAuthor author = persistenceManager.newInstance(IAuthor.class);
        author.setAuthorName(model.getAuthor().getAuthorName());
        author.setEmail(model.getAuthor().getEmail());
        author.setHref(model.getAuthor().getHref());
        author.setDir(model.getAuthor().getDir());
        author.setLang(model.getAuthor().getLang());
        widget.setAuthor(author);
      }
  }
View Full Code Here

Examples of org.apache.wookie.w3c.IAuthor

      getAuthors().add(author);
    }
   
    public IAuthor getOrCreateAuthor(){
      if(getAuthor() == null){
        IAuthor author = PersistenceManagerFactory.getPersistenceManager().newInstance(IAuthor.class);
        setAuthor(author);
      }
      return getAuthor();
    }
View Full Code Here

Examples of org.apache.wookie.w3c.IAuthor

                    widget = persistenceManager.newInstance(IWidget.class);
                    widget.setHeight(350);
                    widget.setWidth(500);
                    widget.setIdentifier("http://notsupported");
                   
                    IAuthor author = persistenceManager.newInstance(IAuthor.class);
                    author.setAuthorName("Paul Sharples");
                    author.setEmail("p.sharples@bolton.ac.uk");
                    author.setHref("http://iec.bolton.ac.uk");
                    widget.setAuthor(author);
                    widget.setVersion("v1.0");
                    IName widgetName = persistenceManager.newInstance(IName.class);
                    widgetName.setName("Unsupported widget widget");
                    widgetName.setShort("Unsupported");
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.