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

Quick Search    Search Deep

com.flexstor.ejb.bucket.persist
Class ServerBucketExtendData  view ServerBucketExtendData download ServerBucketExtendData.java

java.lang.Object
  extended bycom.flexstor.common.data.ejb.Data
      extended bycom.flexstor.ejb.bucket.persist.ServerBucketExtendData
All Implemented Interfaces:
java.io.Serializable

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

This is the client data object for state information pertaining to a DisguiseBucket.

Since:
FlexDB 3.0
Version:
$Id: ServerBucketExtendData.java,v 1.3 2003/08/11 02:22:43 aleric Exp $

Field Summary
protected  java.util.Vector bucketFields
          The disguise_fields for this object
protected  java.lang.String bucketName
          The bucket name
protected  int bucketType
          Bucket Type - Use BucketData Contants
protected  int id
          Identifier (Primary Key)
static java.lang.String IDENTIFIER
           
protected  java.lang.String label
          What did the client name this bucket
protected  int level
          Level of this bucket
 
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
ServerBucketExtendData()
           
 
Method Summary
 java.lang.String getBucketName()
          Get Bucket Name
 int getBucketType()
          Get Bucket Type
 java.util.Vector getFieldDataObjects()
          This will get the Disguise Fields for this object.
 int getId()
          Will get the Id of the field
 java.lang.String getLabel()
          Will get the Label of the field
 int getLevel()
          Get the level for this bucket.
 java.util.Vector getNonSystemFields()
          This will return fields that are not system required
 java.util.Vector getSystemFields()
          This will return fields that are system required
 boolean orderFields()
          This is a helper function that will take the display fields and order them by position.
 void setBucketName(java.lang.String name)
          Set Bucket Name
 void setBucketType(int type)
          Set Bucket Type
 void setFieldDataObjects(java.util.Vector v)
          This will get the Disguise Fields for this object.
 void setId(int id)
          Will set the Id of the field
 void setLabel(java.lang.String label)
          Will get the Label of the field
 void setLevel(int level)
          Get the level for this bucket.
 
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

id

protected int id
Identifier (Primary Key)

Since:
FlexDB 3.0

label

protected java.lang.String label
What did the client name this bucket

Since:
FlexDB 3.0
See Also:
java.util.String

level

protected int level
Level of this bucket

Since:
FlexDB 3.0

bucketFields

protected java.util.Vector bucketFields
The disguise_fields for this object

Since:
FlexDB 3.0
See Also:
com.flexstor.ejb.dataobject.ServerFieldExtendData

bucketName

protected java.lang.String bucketName
The bucket name

Since:
FlexDB 3.0
See Also:
java.util.Vector, com.flexstor.ejb.dataobject.properties

bucketType

protected int bucketType
Bucket Type - Use BucketData Contants

See Also:
com.flexstor.ejb.dataobject.BucketData
Constructor Detail

ServerBucketExtendData

public ServerBucketExtendData()
Method Detail

getId

public int getId()
Will get the Id of the field

Since:
FlexDB 3.0

setId

public void setId(int id)
Will set the Id of the field

Since:
FlexDB 3.0

getLabel

public java.lang.String getLabel()
Will get the Label of the field

Since:
FlexDB 3.0

setLabel

public void setLabel(java.lang.String label)
Will get the Label of the field

Since:
FlexDB 3.0

getLevel

public int getLevel()
Get the level for this bucket.

Since:
FlexDB 3.0

setLevel

public void setLevel(int level)
Get the level for this bucket.

Since:
FlexDB 3.0

getFieldDataObjects

public java.util.Vector getFieldDataObjects()
This will get the Disguise Fields for this object.

Since:
FlexDB 3.0

setFieldDataObjects

public void setFieldDataObjects(java.util.Vector v)
This will get the Disguise Fields for this object.

Since:
FlexDB 3.0

getBucketType

public int getBucketType()
Get Bucket Type


setBucketType

public void setBucketType(int type)
Set Bucket Type


getBucketName

public java.lang.String getBucketName()
Get Bucket Name


setBucketName

public void setBucketName(java.lang.String name)
Set Bucket Name


getSystemFields

public java.util.Vector getSystemFields()
This will return fields that are system required


getNonSystemFields

public java.util.Vector getNonSystemFields()
This will return fields that are not system required


orderFields

public boolean orderFields()
This is a helper function that will take the display fields and order them by position. It uses a bubble sort algorithm which is slow for large Vectors, but should be acceptable because of the small number of displayable fields for a layout.

Since:
FlexDB 3.0