Class MetaView
- java.lang.Object
-
- net.anotheria.asg.generator.view.meta.MetaView
-
- All Implemented Interfaces:
IGenerateable
public class MetaView extends java.lang.Object implements IGenerateable
Meta description of the view.- Version:
- $Id: $Id
- Author:
- another
-
-
Constructor Summary
Constructors Constructor Description MetaView(java.lang.String aName)Creates a new MetaView.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSection(MetaSection section)Adds a section to this view.java.lang.StringgetName()Getter for the fieldname.java.util.List<java.lang.String>getRequiredRoles()Getter for the fieldrequiredRoles.java.util.List<MetaSection>getSections()Getter for the fieldsections.java.lang.StringgetTitle()Getter for the fieldtitle.booleanisCms20()isCms20.voidsetCms20(boolean cms20)Setter for the fieldcms20.voidsetRequiredRoles(java.util.List<java.lang.String> requiredRoles)Setter for the fieldrequiredRoles.voidsetSections(java.util.List<MetaSection> list)Setter for the fieldsections.voidsetTitle(java.lang.String string)Setter for the fieldtitle.java.lang.StringtoString()
-
-
-
Method Detail
-
addSection
public void addSection(MetaSection section)
Adds a section to this view.- Parameters:
section- aMetaSectionobject.
-
getSections
public java.util.List<MetaSection> getSections()
Getter for the field
sections.- Returns:
- sections which are part of this view
-
setSections
public void setSections(java.util.List<MetaSection> list)
Setter for the field
sections.- Parameters:
list- sections of the view
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getName
public java.lang.String getName()
Getter for the field
name.- Returns:
- name of the view
-
getTitle
public java.lang.String getTitle()
Getter for the field
title.- Returns:
- title of the view
-
setTitle
public void setTitle(java.lang.String string)
Setter for the field
title.- Parameters:
string- title of the view
-
getRequiredRoles
public java.util.List<java.lang.String> getRequiredRoles()
Getter for the field
requiredRoles.- Returns:
- a
Listobject.
-
setRequiredRoles
public void setRequiredRoles(java.util.List<java.lang.String> requiredRoles)
Setter for the field
requiredRoles.- Parameters:
requiredRoles- aListobject.
-
isCms20
public boolean isCms20()
isCms20.
- Returns:
- flag for cms 2.0 version
-
setCms20
public void setCms20(boolean cms20)
Setter for the field
cms20.- Parameters:
cms20- flag for cms 2.0 version
-
-