Package org.javlo.component.core
Class ComponentBean
- java.lang.Object
-
- org.javlo.component.core.ComponentBean
-
- All Implemented Interfaces:
Serializable
,Comparable<ComponentBean>
public class ComponentBean extends Object implements Serializable, Comparable<ComponentBean>
- Author:
- pvandermaesen component state less.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_AREA
static int
INSTANCE
-
Constructor Summary
Constructors Constructor Description ComponentBean()
ComponentBean(String newType, String newValue, String newLanguague)
ComponentBean(String newId, String newType, String newValue, String newLanguague, boolean newRepeat, User authors)
ComponentBean(ComponentBean bean)
-
Method Summary
-
-
-
Field Detail
-
INSTANCE
public static int INSTANCE
-
DEFAULT_AREA
public static final String DEFAULT_AREA
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ComponentBean
public ComponentBean()
-
ComponentBean
public ComponentBean(String newId, String newType, String newValue, String newLanguague, boolean newRepeat, User authors)
-
ComponentBean
public ComponentBean(ComponentBean bean) throws SecurityException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classObject
- See Also:
Object.equals(java.lang.Object)
-
getArea
public String getArea()
-
getId
public String getId()
- Returns:
-
getLanguage
public String getLanguage()
- Returns:
-
getStyle
public String getStyle()
-
getType
public String getType()
- Returns:
-
getValue
public String getValue()
- Returns:
-
isList
public boolean isList()
-
isModify
public boolean isModify()
-
isRepeat
public boolean isRepeat()
- Returns:
- Returns the repeat.
-
getRenderer
public String getRenderer()
-
setRenderer
public void setRenderer(String renderer)
-
resetArea
public void resetArea()
-
setArea
public void setArea(String area)
-
setId
public void setId(String id)
-
setLanguage
public void setLanguage(String string)
- Parameters:
string
-
-
setList
public void setList(boolean list)
-
setModify
public void setModify(boolean modify)
-
setRepeat
public void setRepeat(boolean repeat)
-
setStyle
public void setStyle(String style)
-
setType
public void setType(String type)
-
setValue
public void setValue(String value)
-
getAuthors
public String getAuthors()
-
setAuthors
public void setAuthors(String authors)
-
getCreationDate
public Date getCreationDate()
-
setCreationDate
public void setCreationDate(Date creationDate)
-
getModificationDate
public Date getModificationDate()
-
setModificationDate
public void setModificationDate(Date modificationDate)
-
getBackgroundColor
public String getBackgroundColor()
-
setBackgroundColor
public void setBackgroundColor(String backgroundColor)
-
getTextColor
public String getTextColor()
-
setTextColor
public void setTextColor(String textColor)
-
compareTo
public int compareTo(ComponentBean bean)
- Specified by:
compareTo
in interfaceComparable<ComponentBean>
-
getLayout
public ComponentLayout getLayout()
-
setLayout
public void setLayout(ComponentLayout layout)
-
isNolink
public boolean isNolink()
-
setNolink
public void setNolink(boolean autolink)
-
isHidden
public boolean isHidden()
-
setHidden
public void setHidden(boolean hidden)
-
getCookiesDisplayStatus
public int getCookiesDisplayStatus()
-
setCookiesDisplayStatus
public void setCookiesDisplayStatus(int cookiesDisplayStatus)
-
getDeleteDate
public Date getDeleteDate()
-
setDeleteDate
public void setDeleteDate(Date deleteDate)
-
main
public static void main(String[] args)
-
getManualCssClass
public String getManualCssClass()
-
setManualCssClass
public void setManualCssClass(String manualCssClass)
-
getColumnSize
public int getColumnSize()
-
setColumnSize
public void setColumnSize(int columnSize)
-
getColumnStyle
public String getColumnStyle()
-
setColumnStyle
public void setColumnStyle(String columnStyle)
-
getTextPosition
public String getTextPosition()
-
setTextPosition
public void setTextPosition(String textPosition)
-
-