@Entity public class Level extends Object implements Comparable
| Constructor and Description |
|---|
Level() |
public Long getId()
public void setId(Long id)
public String getInfo()
public void setInfo(String info)
public List<ApplicationLayer> getLayers()
public void setLayers(List<ApplicationLayer> layers)
public Level getParent()
public void setParent(Level parent)
public boolean isBackground()
public void setBackground(boolean background)
public String getName()
public void setName(String name)
public String getUrl()
public void setUrl(String url)
public Map<Application,StartLevel> getStartLevels()
public void setStartLevels(Map<Application,StartLevel> startLevels)
public org.json.JSONObject toJSONObject(boolean includeChildrenIds,
Application app,
javax.servlet.http.HttpServletRequest request,
javax.persistence.EntityManager em)
throws org.json.JSONException
org.json.JSONExceptionpublic Set<Application> findApplications(javax.persistence.EntityManager em)
em - the entity manager to usepublic String getPath()
public Level getParentInSubtree(ApplicationLayer appLayer)
public boolean containsLayerInSubtree(ApplicationLayer appLayer)
public boolean containsLevelInSubtree(Level level)
public boolean isInSubtreeOf(Level level)
public void processForMashup(Application app) throws Exception
Exceptionpublic int compareTo(Object o)
compareTo in interface ComparableCopyright © 2016. All rights reserved.