|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamasoftware.contour.ws.v3.domain.WsLookup
public class WsLookup
This object represents an entry in a Pick List.
WsLookupType| Constructor Summary | |
|---|---|
WsLookup()
Creates an empty WsLookup object. |
|
WsLookup(java.lang.String name,
java.lang.String description,
WsLookupType lookupType)
Creates a new WsLookup with the given values. |
|
| Method Summary | |
|---|---|
java.lang.String |
getColor()
Gets the color hex string for this lookup |
java.lang.String |
getDataValue()
Gets the value for this lookup. |
java.lang.String |
getDescription()
Gets the lookup's description. |
java.lang.Long |
getId()
Gets the lookup's id. |
java.lang.String |
getImage()
Gets the image associated with this lookup. |
WsLookupType |
getLookupType()
Gets the lookup type. |
java.lang.String |
getName()
Gets the lookup's name. |
java.lang.Integer |
getSortOrder()
Gets the sort order for this lookup. |
boolean |
isActive()
Is this lookup active? |
boolean |
isDefault()
Is this the default value for the associated lookup type? |
void |
setActive(boolean active)
Sets whether or not this is lookup is active. |
void |
setColor(java.lang.String color)
Sets the color hex string for this lookup |
void |
setDataValue(java.lang.String dataValue)
Sets the value for this lookup. |
void |
setDefault(boolean isDefault)
Sets whether or not this is the default value for the associated lookup type. |
void |
setDescription(java.lang.String description)
Sets the lookup's description. |
void |
setId(java.lang.Long id)
Sets the lookup's id. |
void |
setImage(java.lang.String image)
Sets the image associated with this lookup. |
void |
setLookupType(WsLookupType lookupType)
Sets the lookup type. |
void |
setName(java.lang.String name)
Sets the lookup's name. |
void |
setSortOrder(java.lang.Integer sortOrder)
Sets the sort order for this lookup. |
java.lang.String |
toString()
Gets a string representation of this lookup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WsLookup()
public WsLookup(java.lang.String name,
java.lang.String description,
WsLookupType lookupType)
name - name of the lookup entrydescription - description of the lookup entry (can be null)lookupType - lookupType this lookup entry is associated with| Method Detail |
|---|
public java.lang.Long getId()
public void setId(java.lang.Long id)
id - the id to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the name to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the description to setpublic WsLookupType getLookupType()
public void setLookupType(WsLookupType lookupType)
lookupType - the lookupType to setpublic java.lang.String getImage()
public void setImage(java.lang.String image)
image - the image to setpublic java.lang.Integer getSortOrder()
public void setSortOrder(java.lang.Integer sortOrder)
sortOrder - the sortOrder to setpublic boolean isDefault()
public void setDefault(boolean isDefault)
isDefault - whether or not this should be the default valuepublic boolean isActive()
public void setActive(boolean active)
active - whether or not this lookup should be activepublic java.lang.String getDataValue()
public void setDataValue(java.lang.String dataValue)
dataValue - the dataValue to setpublic java.lang.String getColor()
public void setColor(java.lang.String color)
color - color to setpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||