com.evolveum.midpoint.schema
Class LabeledString

java.lang.Object
  extended by com.evolveum.midpoint.schema.LabeledString

public class LabeledString
extends Object

A free-form string value with a label. Useful for displaying a free-form data in forms and tables that require a label. IMMUTABLE

Author:
Radovan Semancik

Constructor Summary
LabeledString(String label, String data)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getData()
           
 String getLabel()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LabeledString

public LabeledString(String label,
                     String data)
Method Detail

getLabel

public String getLabel()

getData

public String getData()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 evolveum. All Rights Reserved.