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

Quick Search    Search Deep

com.flexstor.common.data.ejb.disguiserecord
Class GenericBucketRecordData  view GenericBucketRecordData download GenericBucketRecordData.java

java.lang.Object
  extended bycom.flexstor.common.data.ejb.Data
      extended bycom.flexstor.common.data.ejb.disguiserecord.GenericBucketRecordData
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AssetRoleData, DisguiseAssetRecordData, DisguiseBucketRecordData, DisguiseElementRecordData

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

Superclass of DisguiseBucketRecordData, DisguiseElementRecordData and DisguiseAssetRecordData


Field Summary
(package private)  int nBucketStructId
          The ID to specify which bucket in the structure this bucket relates to.
(package private)  long nRecordId
          This is inserted into the bucket table as the row id and also into the container table.
(package private)  java.lang.String sDescription
          A description to be added during transaction logging
(package private) static long serialVersionUID
           
(package private)  com.flexstor.common.data.TraversalInfo traversalInfo
          The traversal path for this bucket
(package private)  java.util.Vector vFields
          Field Data for this bucket
(package private)  java.util.Vector vTraversalPath
          Another representation of the traversal path.
 
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
GenericBucketRecordData()
           
 
Method Summary
 void addValue(java.lang.String sValue)
           
protected  void cloneRecord(GenericBucketRecordData clonedObject)
           
 int getBucketStructId()
           
 java.lang.String getDescription()
           
 long getRecordId()
           
 com.flexstor.common.data.TraversalInfo getTraversalInfo()
           
 java.util.Vector getTraversalPath()
           
 DisguiseFieldRecordData[] getValues()
           
 void setBucketStructId(int nBucketStructId)
           
 void setDescription(java.lang.String sDescription)
           
 void setRecordId(long nRecordId)
           
 void setTraversalInfo(int nDisguiseId, java.util.Vector vTraversalItems)
           
 void setTraversalInfo(com.flexstor.common.data.TraversalInfo traversalInfo)
           
 void setTraversalPath(java.util.Vector vTraversalPath)
           
 boolean setValues(DisguiseFieldRecordData[] values)
           
 
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

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

nRecordId

long nRecordId
This is inserted into the bucket table as the row id and also into the container table.


nBucketStructId

int nBucketStructId
The ID to specify which bucket in the structure this bucket relates to.


vFields

java.util.Vector vFields
Field Data for this bucket


traversalInfo

com.flexstor.common.data.TraversalInfo traversalInfo
The traversal path for this bucket


vTraversalPath

java.util.Vector vTraversalPath
Another representation of the traversal path. This Vector contains a copy of each bucket in the path. The first item in the Vector is the top bucket, followed by sub-buckets in order. In case of the assets, the last item represents the element bucket.


sDescription

java.lang.String sDescription
A description to be added during transaction logging

Constructor Detail

GenericBucketRecordData

public GenericBucketRecordData()
Method Detail

getRecordId

public long getRecordId()

setRecordId

public void setRecordId(long nRecordId)

getBucketStructId

public int getBucketStructId()

setBucketStructId

public void setBucketStructId(int nBucketStructId)

getValues

public DisguiseFieldRecordData[] getValues()

setValues

public boolean setValues(DisguiseFieldRecordData[] values)

addValue

public void addValue(java.lang.String sValue)

setTraversalInfo

public void setTraversalInfo(int nDisguiseId,
                             java.util.Vector vTraversalItems)

setTraversalInfo

public void setTraversalInfo(com.flexstor.common.data.TraversalInfo traversalInfo)

getTraversalInfo

public com.flexstor.common.data.TraversalInfo getTraversalInfo()

setTraversalPath

public void setTraversalPath(java.util.Vector vTraversalPath)

getTraversalPath

public java.util.Vector getTraversalPath()

setDescription

public void setDescription(java.lang.String sDescription)

getDescription

public java.lang.String getDescription()

cloneRecord

protected void cloneRecord(GenericBucketRecordData clonedObject)