Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.data.ejb.reporttemplate
Class ReportTemplateData  view ReportTemplateData download ReportTemplateData.java

java.lang.Object
  extended bycom.flexstor.common.data.ejb.Data
      extended bycom.flexstor.common.data.ejb.reporttemplate.ReportTemplateData
All Implemented Interfaces:
java.io.Serializable

public class ReportTemplateData
extends com.flexstor.common.data.ejb.Data

ReportTemplateData is the database data object that represents a Report Template.

Version:
3.0

Field Summary
static java.lang.String IDENTIFIER
          MKS identifier.
protected  boolean isEditable
          Is This report template editable by the user
protected  com.flexstor.common.keys.ejb.ReportTemplateKey key
          The key to reference this object in the database.
protected  int nDisguiseId
          The disguise id the template is based on.
(package private) static long serialVersionUID
           
protected  java.lang.String sFileLocation
          The location where the template file is located.
protected  java.lang.String sFileName
          The template file name.
protected  java.lang.String sFileServer
          The name of the server where the template file is located.
protected  java.lang.String sName
          The displayable name for this Report Template.
 
Fields inherited from class com.flexstor.common.data.ejb.Data
DELETE, DELETED, derived, htModifiedStates, htOptions, MODIFY, modTime, NEW_ENTRY, presentState, prevState, UNCHANGED, UPDATED, WARN_BEFORE_DELETE
 
Constructor Summary
ReportTemplateData()
           
ReportTemplateData(java.lang.String sName, java.lang.String sFileServer, java.lang.String sFileLocation, java.lang.String sFileName, int nDisguiseId)
           
 
Method Summary
 int getDisguiseId()
          Retrieves the id for the disguise the template is based on.
 java.lang.String getFileLocation()
          Retrieves the template file location.
 java.lang.String getFileName()
          Retrieves the template file name.
 java.lang.String getFileServer()
          Retrieves the name of the server where the template file is located.
 com.flexstor.common.keys.ejb.ReportTemplateKey getKey()
          Retrieve the database reference key for this Report Template data object.
 java.lang.String getName()
          Retrieves the displayable name for this Report Template.
 boolean isEditable()
          Checks to see if this object is editable by the user
 void setDisguiseId(int nDisguiseId)
          Sets the disguise id the template is based on.
 void setEditable(boolean editable)
          This sets the editable flag for this object
 void setFileLocation(java.lang.String sFileLocation)
          Sets the template file location.
 void setFileName(java.lang.String sFileName)
          Sets the template file name.
 void setFileServer(java.lang.String sFileServer)
          Sets the name of the server where the template file is located.
 void setKey(com.flexstor.common.keys.ejb.ReportTemplateKey rtkKey)
          Sets the database reference key for this Report Template data object.
 void setName(java.lang.String sName)
          Sets the displayable name for this Report Template.
 
Methods inherited from class com.flexstor.common.data.ejb.Data
assertEquals, changed, fillCloneInfo, getDateModTime, getModTime, getPresentState, getPreviousState, initializeState, isDeleted, isDerived, isModified, isModified, isObjectPersist, isOptionAllowed, resetModifiedStates, rollBackState, setDeleted, setDerived, setModifiedState, setModTime, setModTime, setNewEntry, setOption, setPerisistState, setPreviousState, setState, setUpdated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IDENTIFIER

public static final java.lang.String IDENTIFIER
MKS identifier.

See Also:
Constant Field Values

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

key

protected com.flexstor.common.keys.ejb.ReportTemplateKey key
The key to reference this object in the database.


isEditable

protected boolean isEditable
Is This report template editable by the user


sName

protected java.lang.String sName
The displayable name for this Report Template.


sFileServer

protected java.lang.String sFileServer
The name of the server where the template file is located.


sFileLocation

protected java.lang.String sFileLocation
The location where the template file is located.


sFileName

protected java.lang.String sFileName
The template file name.


nDisguiseId

protected int nDisguiseId
The disguise id the template is based on.

Constructor Detail

ReportTemplateData

public ReportTemplateData()

ReportTemplateData

public ReportTemplateData(java.lang.String sName,
                          java.lang.String sFileServer,
                          java.lang.String sFileLocation,
                          java.lang.String sFileName,
                          int nDisguiseId)
Method Detail

setKey

public void setKey(com.flexstor.common.keys.ejb.ReportTemplateKey rtkKey)
Sets the database reference key for this Report Template data object.


getKey

public com.flexstor.common.keys.ejb.ReportTemplateKey getKey()
Retrieve the database reference key for this Report Template data object.


setName

public void setName(java.lang.String sName)
Sets the displayable name for this Report Template.


getName

public java.lang.String getName()
Retrieves the displayable name for this Report Template.


setFileServer

public void setFileServer(java.lang.String sFileServer)
Sets the name of the server where the template file is located.


getFileServer

public java.lang.String getFileServer()
Retrieves the name of the server where the template file is located.


setFileLocation

public void setFileLocation(java.lang.String sFileLocation)
Sets the template file location.


getFileLocation

public java.lang.String getFileLocation()
Retrieves the template file location.


setFileName

public void setFileName(java.lang.String sFileName)
Sets the template file name.


getFileName

public java.lang.String getFileName()
Retrieves the template file name.


setDisguiseId

public void setDisguiseId(int nDisguiseId)
Sets the disguise id the template is based on.


getDisguiseId

public int getDisguiseId()
Retrieves the id for the disguise the template is based on.


isEditable

public boolean isEditable()
Checks to see if this object is editable by the user


setEditable

public void setEditable(boolean editable)
This sets the editable flag for this object