com.wewebu.ow.server.app
Class OwDefaultComboItem

java.lang.Object
  extended by com.wewebu.ow.server.app.OwDefaultComboItem
All Implemented Interfaces:
OwComboItem

public class OwDefaultComboItem
extends Object
implements OwComboItem

Default implementation for combo box item.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
3.0.0.0

Constructor Summary
OwDefaultComboItem(String value_p, String displayName_p)
          Constructor
 
Method Summary
 boolean equals(Object object_p)
           
 String getDisplayName()
          Get the item display name.
 String getValue()
          Get the item value.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OwDefaultComboItem

public OwDefaultComboItem(String value_p,
                          String displayName_p)
Constructor

Parameters:
value_p - - the value
displayName_p - - the display name
Method Detail

getDisplayName

public String getDisplayName()
Description copied from interface: OwComboItem
Get the item display name.

Specified by:
getDisplayName in interface OwComboItem
Returns:
a String object representing the display name of this combo item.

getValue

public String getValue()
Description copied from interface: OwComboItem
Get the item value.

Specified by:
getValue in interface OwComboItem
Returns:
a String object representing the value of this combo item.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object object_p)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.