com.edustructures.sifworks.tools.mapping
Class ValueSetEntry

java.lang.Object
  extended by com.edustructures.sifworks.tools.mapping.ValueSetEntry
All Implemented Interfaces:
java.io.Serializable

public class ValueSetEntry
extends java.lang.Object
implements java.io.Serializable

An entry in a ValueSet.

Each ValueSet entry describes a mapping between a local application value and a SIF value. Additional fields include a display title and display order for presenting ValueSet entries in a user interface.

Version:
ADK 1.0
See Also:
Serialized Form

Field Summary
 int displayOrder
          An optional display order for arranging ValueSetEntries in a user interface
 java.lang.String name
          The name of this entry (i.e.
 org.w3c.dom.Node node
          The optional DOM Node that defines this ValueSetEntry in the configuration file
 java.lang.String title
          An optional title for displaying ValueSetEntries in a user interface
 java.lang.String value
          The value of this entry (i.e.
 
Constructor Summary
ValueSetEntry(java.lang.String name, java.lang.String value, java.lang.String title)
          Constructor
ValueSetEntry(java.lang.String name, java.lang.String value, java.lang.String title, int displayOrder)
          Constructor
 
Method Summary
 void toXml(org.w3c.dom.Element element)
          Writes this valueset entry to XML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The name of this entry (i.e. the application-defined value)


value

public java.lang.String value
The value of this entry (i.e. the corresponding SIF-defined value)


title

public java.lang.String title
An optional title for displaying ValueSetEntries in a user interface


displayOrder

public int displayOrder
An optional display order for arranging ValueSetEntries in a user interface


node

public transient org.w3c.dom.Node node
The optional DOM Node that defines this ValueSetEntry in the configuration file

Constructor Detail

ValueSetEntry

public ValueSetEntry(java.lang.String name,
                     java.lang.String value,
                     java.lang.String title)
Constructor

Parameters:
name - The name of this entry (i.e. the application-defined value)
value - The value of this entry (i.e. the corresponding SIF-defined value)
title - An optional title for displaying ValueSetEntries in a user interface

ValueSetEntry

public ValueSetEntry(java.lang.String name,
                     java.lang.String value,
                     java.lang.String title,
                     int displayOrder)
Constructor

Parameters:
name - The name of this entry (i.e. the application-defined value)
value - The value of this entry (i.e. the corresponding SIF-defined value)
title - An optional title for displaying ValueSetEntries in a user interface
displayOrder - The order in which this item should be displayed in a list
Method Detail

toXml

public void toXml(org.w3c.dom.Element element)
Writes this valueset entry to XML

Parameters:
element -


Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.