org.openmobileis.modules.common.data.DefaultLabel Class Reference

Inheritance diagram for org.openmobileis.modules.common.data.DefaultLabel:

org.openmobileis.common.util.collection.Orderable org.openmobileis.modules.common.data.Label org.openmobileis.common.util.collection.Orderable org.openmobileis.modules.common.database.fodb.FODBLabel List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: USe to manage the pair identifier/label used by article, visite type and contact type.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

Definition at line 44 of file DefaultLabel.java.

Public Member Functions

 DefaultLabel (String id, String category, String label)
 DefaultLabel (String id, String category, String label, String language)
int compareTo (Object parm1, Object parm2)
 Compare two objects and order them.
String getLabel ()
String getLabelLanguage ()
String getCategory ()
String getLabelId ()
void setLabelSortOrder (int o)
 Use to sort label in a specific order.
int getLabelSortOrder ()
String toString ()
boolean equals (Object obj)
int hashCode ()
int compareTo (Object parm2)

Protected Member Functions

 DefaultLabel ()

Static Package Attributes

static final long serialVersionUID = 5521257935120563452L


Member Function Documentation

int org.openmobileis.modules.common.data.DefaultLabel.compareTo ( Object  parm1,
Object  parm2 
)

Compare two objects and order them.

Parameters:
p1 first object
p2 second object
Returns:
< 0 if p1 < p2, 0 if equal, > 0 if p1 > p2

Implements org.openmobileis.common.util.collection.Orderable.

Definition at line 72 of file DefaultLabel.java.

void org.openmobileis.modules.common.data.DefaultLabel.setLabelSortOrder ( int  o  ) 

Use to sort label in a specific order.

Sorting id made : sort with labelOrder if equals use label.

Parameters:
o label sort order

Implements org.openmobileis.modules.common.data.Label.

Definition at line 104 of file DefaultLabel.java.


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:40 2006 for OpenMobileIS by  doxygen 1.5.1-p1