org.dspace.content.authority
Class Choice

java.lang.Object
  extended by org.dspace.content.authority.Choice

public class Choice
extends Object

Record class to hold the data describing one option, or choice, for an authority-controlled metadata value.

Author:
Larry Stone
See Also:
Choices

Field Summary
 String authority
          Authority key for this value
 String label
          Label to display for this value (e.g.
 String value
          The canonical text value to insert into MetadataValue's text field
 
Constructor Summary
Choice()
           
Choice(String authority, String value, String label)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

authority

public String authority
Authority key for this value


label

public String label
Label to display for this value (e.g. to present in UI menu)


value

public String value
The canonical text value to insert into MetadataValue's text field

Constructor Detail

Choice

public Choice()

Choice

public Choice(String authority,
              String value,
              String label)


Copyright © 2010 DuraSpace. All Rights Reserved.