java.lang.Object
com.flexstor.common.data.ejb.Data
com.flexstor.common.data.ejb.application.ApplicationData
com.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
| 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 |
| 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 |
IDENTIFIER
public static final java.lang.String IDENTIFIER
- See Also:
- Constant Field Values
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
ApplicationDataBuild
public ApplicationDataBuild()
- Constructor
ApplicationDataBuild
public ApplicationDataBuild(java.lang.String appName)
- Constructor using String to set Application Name
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.