de.alpharogroup.lang.model.ClassModel Maven / Gradle / Ivy
/**
* The MIT License
*
* Copyright (C) 2015 Asterios Raptis
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
package de.alpharogroup.lang.model;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.lang.model.element.ElementKind;
import javax.lang.model.element.Modifier;
public class ClassModel
{
private ElementKind kind = ElementKind.CLASS;
private String packageName;
private List imports = new ArrayList<>();
private List classAnnotations;
private List modifiers;
private List genericTypes;
private String className;
private String extendedClassName;
private List interfaceImplementations = new ArrayList<>();
private Map methods;
public List getClassAnnotations()
{
return classAnnotations;
}
public String getClassName()
{
return className;
}
public String getExtendedClassName()
{
return extendedClassName;
}
public List getGenericTypes()
{
return genericTypes;
}
public List getImports()
{
return imports;
}
public List getInterfaceImplementations()
{
return interfaceImplementations;
}
public ElementKind getKind()
{
return kind;
}
public Map getMethods()
{
return methods;
}
public List getModifiers()
{
return modifiers;
}
public String getPackageName()
{
return packageName;
}
public void setClassAnnotations(final List classAnnotations)
{
this.classAnnotations = classAnnotations;
}
public void setClassName(final String className)
{
this.className = className;
}
public void setExtendedClassName(final String extendedClassName)
{
this.extendedClassName = extendedClassName;
}
public void setGenericTypes(final List genericTypes)
{
this.genericTypes = genericTypes;
}
public void setImports(final List imports)
{
this.imports = imports;
}
public void setInterfaceImplementations(final List interfaceImplementations)
{
this.interfaceImplementations = interfaceImplementations;
}
public void setKind(final ElementKind kind)
{
this.kind = kind;
}
public void setMethods(final Map methods)
{
this.methods = methods;
}
public void setModifiers(final List modifiers)
{
this.modifiers = modifiers;
}
public void setPackageName(final String packageName)
{
this.packageName = packageName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy