com.flexive.shared.search
Class BriefcaseItemData

java.lang.Object
  extended by com.flexive.shared.AbstractSelectableObjectWithName
      extended by com.flexive.shared.search.BriefcaseItemData
All Implemented Interfaces:
SelectableObject, SelectableObjectWithName, java.io.Serializable

public class BriefcaseItemData
extends AbstractSelectableObjectWithName
implements java.io.Serializable

Item meta data for a briefcase entry

Author:
Markus Plesser (markus.plesser@ucs.at), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Nested Class Summary
static class BriefcaseItemData.SortField
           
static class BriefcaseItemData.SortOrder
           
 
Method Summary
static BriefcaseItemData createBriefCaseItemData(long briefcaseId, long itemId, java.lang.String metaData)
           
 long getBriefcaseId()
           
 long getId()
          The object's unique identifier
 int getIntFlag(int index, int notSetValue)
           
 java.lang.Integer getIntFlag1()
           
 java.lang.Integer getIntFlag2()
           
 java.lang.Integer getIntFlag3()
           
 long getItemId()
           
 java.lang.Long getLongFlag(int index, java.lang.Long notSetValue)
           
 java.lang.Long getLongFlag1()
           
 java.lang.Long getLongFlag2()
           
 java.lang.String getMetaData()
           
 java.lang.String getName()
          The displayed name of the object.
 int getPos()
           
 boolean isIntFlagSet(int index)
           
 boolean isLongFlagSet(int index)
           
 boolean isPosSet()
           
 BriefcaseItemData setIntFlag1(java.lang.Integer intFlag1)
           
 BriefcaseItemData setIntFlag2(java.lang.Integer intFlag2)
           
 BriefcaseItemData setIntFlag3(java.lang.Integer intFlag3)
           
 BriefcaseItemData setLongFlag1(java.lang.Long longFlag1)
           
 BriefcaseItemData setLongFlag2(java.lang.Long longFlag2)
           
 BriefcaseItemData setMetaData(java.lang.String metaData)
           
 void setPos(int pos)
           
 
Methods inherited from class com.flexive.shared.AbstractSelectableObjectWithName
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

createBriefCaseItemData

public static BriefcaseItemData createBriefCaseItemData(long briefcaseId,
                                                        long itemId,
                                                        java.lang.String metaData)

getName

public java.lang.String getName()
Description copied from interface: SelectableObjectWithName
The displayed name of the object.

Specified by:
getName in interface SelectableObjectWithName
Returns:
the displayed name of the object.

getId

public long getId()
Description copied from interface: SelectableObject
The object's unique identifier

Specified by:
getId in interface SelectableObject
Returns:
the object's unique identifier

getBriefcaseId

public long getBriefcaseId()

getItemId

public long getItemId()

getPos

public int getPos()

setPos

public void setPos(int pos)

isPosSet

public boolean isPosSet()

getMetaData

public java.lang.String getMetaData()

setMetaData

public BriefcaseItemData setMetaData(java.lang.String metaData)

getIntFlag1

public java.lang.Integer getIntFlag1()

isIntFlagSet

public boolean isIntFlagSet(int index)

getIntFlag

public int getIntFlag(int index,
                      int notSetValue)

isLongFlagSet

public boolean isLongFlagSet(int index)

getLongFlag

public java.lang.Long getLongFlag(int index,
                                  java.lang.Long notSetValue)

setIntFlag1

public BriefcaseItemData setIntFlag1(java.lang.Integer intFlag1)

getIntFlag2

public java.lang.Integer getIntFlag2()

setIntFlag2

public BriefcaseItemData setIntFlag2(java.lang.Integer intFlag2)

getIntFlag3

public java.lang.Integer getIntFlag3()

setIntFlag3

public BriefcaseItemData setIntFlag3(java.lang.Integer intFlag3)

getLongFlag1

public java.lang.Long getLongFlag1()

setLongFlag1

public BriefcaseItemData setLongFlag1(java.lang.Long longFlag1)

getLongFlag2

public java.lang.Long getLongFlag2()

setLongFlag2

public BriefcaseItemData setLongFlag2(java.lang.Long longFlag2)