com.croftsoft.apps.agoracast.c2p
Class AgoracastField

java.lang.Object
  extended by com.croftsoft.apps.agoracast.c2p.AgoracastField

public final class AgoracastField
extends Object

Since:
2001-08-08
Version:
2001-11-09
Author:
David Wallace Croft

Field Summary
static String SML_NODE_NAME
           
static int TYPE_NUMBER
           
static int TYPE_STRING
           
 
Constructor Summary
AgoracastField(String name, String value, int type, boolean isReverse, String[] choices, String semantic)
           
 
Method Summary
 int compare(String value1, String value2)
           
static AgoracastField fromSmlNode(SmlNode smlNode)
           
 String[] getChoices()
           
 String getName()
           
 String getSemantic()
           
 int getType()
           
 String getValue()
           
 boolean isReverse()
           
 SmlNode toSmlNode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SML_NODE_NAME

public static final String SML_NODE_NAME
See Also:
Constant Field Values

TYPE_NUMBER

public static final int TYPE_NUMBER
See Also:
Constant Field Values

TYPE_STRING

public static final int TYPE_STRING
See Also:
Constant Field Values
Constructor Detail

AgoracastField

public AgoracastField(String name,
                      String value,
                      int type,
                      boolean isReverse,
                      String[] choices,
                      String semantic)
Method Detail

fromSmlNode

public static AgoracastField fromSmlNode(SmlNode smlNode)

getName

public String getName()

getValue

public String getValue()

getType

public int getType()

isReverse

public boolean isReverse()

getChoices

public String[] getChoices()

getSemantic

public String getSemantic()

compare

public int compare(String value1,
                   String value2)

toSmlNode

public SmlNode toSmlNode()

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)