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

int compareTo (Object parm1, Object parm2)
 Compare two objects and order them.
void setLabelSortOrder (int o)
 Use to sort label in a specific order.

Member Function Documentation

int org.openmobileis.modules.common.data.DefaultLabel.compareTo ( Object  p1,
Object  p2 
)

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 Jan 14 17:29:54 2008 for OpenMobileIS by  doxygen 1.5.4