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

Quick Search    Search Deep

com.flexstor.common.data.ejb.application
Class ApplicationDataBuild  view ApplicationDataBuild download ApplicationDataBuild.java

java.lang.Object
  extended bycom.flexstor.common.data.ejb.Data
      extended bycom.flexstor.common.data.ejb.application.ApplicationData
          extended bycom.flexstor.common.data.ejb.application.ApplicationDataBuild
All Implemented Interfaces:
java.io.Serializable

public class ApplicationDataBuild
extends ApplicationData

This class supports state data for Application. A Data class holds all of the state information for a corresponding class that does not references to other classes

Since:
FLEXSTOR.db 3.0
Version:
1.0

Field Summary
static java.lang.String IDENTIFIER
           
(package private) static long serialVersionUID
           
 
Fields inherited from class com.flexstor.common.data.ejb.application.ApplicationData
buckets, classify, container, id, key, name, properties
 
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
ApplicationDataBuild()
          Constructor
ApplicationDataBuild(java.lang.String appName)
          Constructor using String to set Application Name
 
Method Summary
 boolean addBucketDataObject(com.flexstor.common.data.ejb.bucket.BucketData bData)
          This will allow a application bucket Object to be added to the application bucket Vector.
 void setBucketDataObjects(java.util.Vector vBuckets)
          Set the Vector to Bucket Objects
 boolean setClassify(boolean classify)
          Set the classify flag true or false
 boolean setClassify(java.lang.String classify)
          Set the classify flag true or false based upon the first byte of a String 'Y' or 'N'.
 void setContainer(java.lang.String cont)
          Set the application Container.
 boolean setId(int id)
          Set the Application ID for this Object.
 boolean setKey(com.flexstor.common.keys.ejb.ApplicationKey key)
          Set the Application key for this object
 boolean setName(java.lang.String sName)
          Get the application name
 void setPropertyDataObjects(java.util.Vector props)
          This will set a list of properties.
 
Methods inherited from class com.flexstor.common.data.ejb.application.ApplicationData
getBucketDataObjects, getContainer, getId, getKey, getName, getProperty, getPropertyDataObjects, isClassify
 
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
See Also:
Constant Field Values

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ApplicationDataBuild

public ApplicationDataBuild()
Constructor


ApplicationDataBuild

public ApplicationDataBuild(java.lang.String appName)
Constructor using String to set Application Name

Method Detail

setId

public boolean setId(int id)
Set the Application ID for this Object.


setName

public boolean setName(java.lang.String sName)
Get the application name


setContainer

public void setContainer(java.lang.String cont)
Set the application Container.

Since:
FlexDB 3.0

addBucketDataObject

public boolean addBucketDataObject(com.flexstor.common.data.ejb.bucket.BucketData bData)
This will allow a application bucket Object to be added to the application bucket Vector. If the Vector is null it will create a new Vector.


setBucketDataObjects

public void setBucketDataObjects(java.util.Vector vBuckets)
Set the Vector to Bucket Objects


setKey

public boolean setKey(com.flexstor.common.keys.ejb.ApplicationKey key)
Set the Application key for this object


setClassify

public boolean setClassify(boolean classify)
Set the classify flag true or false


setClassify

public boolean setClassify(java.lang.String classify)
Set the classify flag true or false based upon the first byte of a String 'Y' or 'N'.


setPropertyDataObjects

public void setPropertyDataObjects(java.util.Vector props)
This will set a list of properties.