com.konakartadmin.app
Class AdminPanel

java.lang.Object
  extended by com.konakartadmin.app.AdminPanel
All Implemented Interfaces:
AdminObjectIf

public class AdminPanel
extends java.lang.Object
implements AdminObjectIf

Panel object for the Admin App


Field Summary
private  boolean canDelete
          canDelete
private  boolean canEdit
          canEdit
private  boolean canInsert
          canInsert
private  java.lang.String code
          code
private  boolean custom1
          custom1
private  java.lang.String custom1Desc
          custom1Desc
private  boolean custom2
          custom2
private  java.lang.String custom2Desc
          custom2Desc
private  boolean custom3
          custom3
private  java.lang.String custom3Desc
          custom3Desc
private  boolean custom4
          custom4
private  java.lang.String custom4Desc
          custom4Desc
private  boolean custom5
          custom5
private  java.lang.String custom5Desc
          custom5Desc
private  java.util.Date dateAdded
          dateAdded
private  java.lang.String description
          description
private  int id
          id
private  java.util.Date lastModified
          lastModified
 
Constructor Summary
AdminPanel()
          Constructor
AdminPanel(com.workingdogs.village.Record vr, com.konakart.bl.KKCriteria c)
          Instantiates the attributes of the Panel object from a Record object
 
Method Summary
 java.lang.String getCode()
           
 java.lang.String getCustom1Desc()
           
 java.lang.String getCustom2Desc()
           
 java.lang.String getCustom3Desc()
           
 java.lang.String getCustom4Desc()
           
 java.lang.String getCustom5Desc()
           
 java.util.Date getDateAdded()
           
 java.lang.String getDescription()
           
 int getId()
           
 java.util.Date getLastModified()
           
 boolean isCanDelete()
           
 boolean isCanEdit()
           
 boolean isCanInsert()
           
 boolean isCustom1()
           
 boolean isCustom2()
           
 boolean isCustom3()
           
 boolean isCustom4()
           
 boolean isCustom5()
           
 void setCanDelete(boolean canDelete)
           
 void setCanEdit(boolean canEdit)
           
 void setCanInsert(boolean canInsert)
           
 void setCode(java.lang.String code)
           
 void setCustom1(boolean custom1)
           
 void setCustom1Desc(java.lang.String custom1Desc)
           
 void setCustom2(boolean custom2)
           
 void setCustom2Desc(java.lang.String custom2Desc)
           
 void setCustom3(boolean custom3)
           
 void setCustom3Desc(java.lang.String custom3Desc)
           
 void setCustom4(boolean custom4)
           
 void setCustom4Desc(java.lang.String custom4Desc)
           
 void setCustom5(boolean custom5)
           
 void setCustom5Desc(java.lang.String custom5Desc)
           
 void setDateAdded(java.util.Date dateAdded)
           
 void setDescription(java.lang.String description)
           
 void setId(int id)
           
 void setLastModified(java.util.Date lastModified)
           
 java.lang.String toString()
           
 java.lang.String toStringBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private int id
id


code

private java.lang.String code
code


description

private java.lang.String description
description


canEdit

private boolean canEdit
canEdit


canInsert

private boolean canInsert
canInsert


canDelete

private boolean canDelete
canDelete


custom1

private boolean custom1
custom1


custom1Desc

private java.lang.String custom1Desc
custom1Desc


custom2

private boolean custom2
custom2


custom2Desc

private java.lang.String custom2Desc
custom2Desc


custom3

private boolean custom3
custom3


custom3Desc

private java.lang.String custom3Desc
custom3Desc


custom4

private boolean custom4
custom4


custom4Desc

private java.lang.String custom4Desc
custom4Desc


custom5

private boolean custom5
custom5


custom5Desc

private java.lang.String custom5Desc
custom5Desc


dateAdded

private java.util.Date dateAdded
dateAdded


lastModified

private java.util.Date lastModified
lastModified

Constructor Detail

AdminPanel

public AdminPanel()
Constructor


AdminPanel

public AdminPanel(com.workingdogs.village.Record vr,
                  com.konakart.bl.KKCriteria c)
           throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Panel object from a Record object

Parameters:
vr - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in interface AdminObjectIf
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the AdminPanel object.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a brief string containing the attributes of the AdminPanel object.

isCanDelete

public boolean isCanDelete()
Returns:
Returns the canDelete.

setCanDelete

public void setCanDelete(boolean canDelete)
Parameters:
canDelete - The canDelete to set.

isCanEdit

public boolean isCanEdit()
Returns:
Returns the canEdit.

setCanEdit

public void setCanEdit(boolean canEdit)
Parameters:
canEdit - The canEdit to set.

isCanInsert

public boolean isCanInsert()
Returns:
Returns the canInsert.

setCanInsert

public void setCanInsert(boolean canInsert)
Parameters:
canInsert - The canInsert to set.

getCode

public java.lang.String getCode()
Returns:
Returns the code.

setCode

public void setCode(java.lang.String code)
Parameters:
code - The code to set.

isCustom1

public boolean isCustom1()
Returns:
Returns the custom1.

setCustom1

public void setCustom1(boolean custom1)
Parameters:
custom1 - The custom1 to set.

getCustom1Desc

public java.lang.String getCustom1Desc()
Returns:
Returns the custom1Desc.

setCustom1Desc

public void setCustom1Desc(java.lang.String custom1Desc)
Parameters:
custom1Desc - The custom1Desc to set.

isCustom2

public boolean isCustom2()
Returns:
Returns the custom2.

setCustom2

public void setCustom2(boolean custom2)
Parameters:
custom2 - The custom2 to set.

getCustom2Desc

public java.lang.String getCustom2Desc()
Returns:
Returns the custom2Desc.

setCustom2Desc

public void setCustom2Desc(java.lang.String custom2Desc)
Parameters:
custom2Desc - The custom2Desc to set.

isCustom3

public boolean isCustom3()
Returns:
Returns the custom3.

setCustom3

public void setCustom3(boolean custom3)
Parameters:
custom3 - The custom3 to set.

getCustom3Desc

public java.lang.String getCustom3Desc()
Returns:
Returns the custom3Desc.

setCustom3Desc

public void setCustom3Desc(java.lang.String custom3Desc)
Parameters:
custom3Desc - The custom3Desc to set.

isCustom4

public boolean isCustom4()
Returns:
Returns the custom4.

setCustom4

public void setCustom4(boolean custom4)
Parameters:
custom4 - The custom4 to set.

getCustom4Desc

public java.lang.String getCustom4Desc()
Returns:
Returns the custom4Desc.

setCustom4Desc

public void setCustom4Desc(java.lang.String custom4Desc)
Parameters:
custom4Desc - The custom4Desc to set.

isCustom5

public boolean isCustom5()
Returns:
Returns the custom5.

setCustom5

public void setCustom5(boolean custom5)
Parameters:
custom5 - The custom5 to set.

getCustom5Desc

public java.lang.String getCustom5Desc()
Returns:
Returns the custom5Desc.

setCustom5Desc

public void setCustom5Desc(java.lang.String custom5Desc)
Parameters:
custom5Desc - The custom5Desc to set.

getDateAdded

public java.util.Date getDateAdded()
Returns:
Returns the dateAdded.

setDateAdded

public void setDateAdded(java.util.Date dateAdded)
Parameters:
dateAdded - The dateAdded to set.

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.

getId

public int getId()
Specified by:
getId in interface AdminObjectIf
Returns:
Returns the id.

setId

public void setId(int id)
Specified by:
setId in interface AdminObjectIf
Parameters:
id - The id to set.

getLastModified

public java.util.Date getLastModified()
Returns:
Returns the lastModified.

setLastModified

public void setLastModified(java.util.Date lastModified)
Parameters:
lastModified - The lastModified to set.


Copyright © 2011 DS Data Systems UK Ltd.