Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2014 Red Hat, Inc. and/or its affiliates. Licensed under the Eclipse Public License version 1.0, available at http://www.eclipse.org/legal/epl-v10.html
  
  
  package org.jboss.forge.addon.javaee.rest.generation;
  
 import  org.jboss.forge.addon.projects.Project;
 import  org.jboss.forge.addon.text.Inflector;
 import  org.jboss.forge.roaster.model.source.JavaClassSource;

Parameters for REST resource generation

Author(s):
George Gastaldi
 
 public class RestGenerationContext
 {
     private Project project;
     private JavaClassSource entity;
     private String targetPackageName;
     private String contentType;
     private String persistenceUnitName;
     private Inflector inflector;

    

Returns:
the project
 
     public Project getProject()
     {
         return ;
     }

    

Returns:
the entity
 
     public JavaClassSource getEntity()
     {
         return ;
     }

    

Returns:
the targetPackageName
 
     public String getTargetPackageName()
     {
         return ;
     }

    

Returns:
the contentType
 
     public String getContentType()
     {
         return ;
     }

    

Returns:
the persistenceUnitName
 
     public String getPersistenceUnitName()
     {
         return ;
     }
 
     public Inflector getInflector()
     {
         return ;
     }
 
     public void setProject(Project project)
     {
         this. = project;
     }
 
     public void setEntity(JavaClassSource entity)
     {
         this. = entity;
     }
 
     public void setTargetPackageName(String targetPackageName)
     {
         this. = targetPackageName;
     }
 
     public void setContentType(String contentType)
     {
         this. = contentType;
     }
 
     public void setPersistenceUnitName(String persistenceUnitName)
     {
         this. = persistenceUnitName;
     }
 
     public void setInflector(Inflector inflector)
     {
        this. = inflector;
    }
New to GrepCode? Check out our FAQ X