[shrinkwrap-issues] [JBoss JIRA] (SHRINKDESC-155) Missing methods in generated common parents

Ralf Battenfeld (JIRA) issues at jboss.org
Tue Jun 17 08:58:24 EDT 2014


    [ https://issues.jboss.org/browse/SHRINKDESC-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977011#comment-12977011 ] 

Ralf Battenfeld commented on SHRINKDESC-155:
--------------------------------------------

I don't know what here the problems is but my latest version provides all of your mentioned fields:
Example: PersistencePersistenceUnitCommType 

   /**
    * Sets the <code>Name</code> attribute
    * @param Name the value for the attribute <code>Name</code> 
    * @return the current instance of <code>ORIGIN</code> 
    */
   public ORIGIN name(String Name);

   /**
    * Returns the <code>Name</code> attribute
    * @return the value defined for the attribute <code>Name</code> 
    */
   public String getName();

   /**
    * Removes the <code>Name</code> attribute 
    * @return the current instance of <code>ORIGIN</code> 
    */
   public ORIGIN removeName();

   /**
    * Sets the <code>Value</code> attribute
    * @param Value the value for the attribute <code>Value</code> 
    * @return the current instance of <code>ORIGIN</code> 
    */
   public ORIGIN value(String Value);

   /**
    * Returns the <code>Value</code> attribute
    * @return the value defined for the attribute <code>Value</code> 
    */
   public String getValue();

   /**
    * Removes the <code>Value</code> attribute 
    * @return the current instance of <code>ORIGIN</code> 
    */
   public ORIGIN removeValue();

> Missing methods in generated common parents
> -------------------------------------------
>
>                 Key: SHRINKDESC-155
>                 URL: https://issues.jboss.org/browse/SHRINKDESC-155
>             Project: ShrinkWrap Descriptors
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: api-javaee
>    Affects Versions: 2.0.0-alpha-6
>            Reporter: George Gastaldi
>            Assignee: Ralf Battenfeld
>
> Some common parents generated from SHRINKDESC-151 do not have all the required methods declared in the common interface. 
> For example: 
> - JavaeeServletMappingCommonType
> -- see https://github.com/forge/javaee-descriptors/blob/master/api/src/main/java/org/jboss/shrinkwrap/descriptor/api/webcommon/ServletMappingCommonType.java
> - WebAppCommonDescriptor
> -- see https://github.com/forge/javaee-descriptors/blob/master/api/src/main/java/org/jboss/shrinkwrap/descriptor/api/webapp/WebAppCommonDescriptor.java
> Other parent interfaces might be missing methods as well, they should be reviewed and have the common methods created. 



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the shrinkwrap-issues mailing list