Skip navigation links

Oracle© Fusion Middleware Extensibility Framework (REX) for Oracle Enterprise Repository
11g Release 1 (11.1.1)

E16598-01


com.flashline.registry.openapi.entity
Class Choice

java.lang.Object
  extended by com.flashline.registry.openapi.entity.Choice

All Implemented Interfaces:
java.io.Serializable

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

Objects of this class represent choices in the survey system. An answer object may have two types of answers: alphanumeric or multiple choice. The choice object stores the ID of a selected multiple choice answer.

See Also:
Serialized Form

Constructor Summary
Choice()
           
Choice(int activeStatus, long id, int sortOrder, java.lang.String value)
           

 

Method Summary
 boolean equals(java.lang.Object obj)
           
 int getActiveStatus()
          Gets the activeStatus value for this Choice.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 long getId()
          Gets the id value for this Choice.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 int getSortOrder()
          Gets the sortOrder value for this Choice.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 java.lang.String getValue()
          Gets the value value for this Choice.
 int hashCode()
           
 void setActiveStatus(int activeStatus)
          Sets the activeStatus value for this Choice.
 void setId(long id)
          Sets the id value for this Choice.
 void setSortOrder(int sortOrder)
          Sets the sortOrder value for this Choice.
 void setValue(java.lang.String value)
          Sets the value value for this Choice.

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Choice

public Choice()

Choice

public Choice(int activeStatus,
              long id,
              int sortOrder,
              java.lang.String value)

Method Detail

getActiveStatus

public int getActiveStatus()
Gets the activeStatus value for this Choice.
Returns:
activeStatus

setActiveStatus

public void setActiveStatus(int activeStatus)
Sets the activeStatus value for this Choice.
Parameters:
activeStatus -

getId

public long getId()
Gets the id value for this Choice.
Returns:
id

setId

public void setId(long id)
Sets the id value for this Choice.
Parameters:
id -

getSortOrder

public int getSortOrder()
Gets the sortOrder value for this Choice.
Returns:
sortOrder

setSortOrder

public void setSortOrder(int sortOrder)
Sets the sortOrder value for this Choice.
Parameters:
sortOrder -

getValue

public java.lang.String getValue()
Gets the value value for this Choice.
Returns:
value

setValue

public void setValue(java.lang.String value)
Sets the value value for this Choice.
Parameters:
value -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object

getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer

getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer

Skip navigation links

Oracle© Fusion Middleware Extensibility Framework (REX) for Oracle Enterprise Repository
11g Release 1 (11.1.1)

E16598-01


Copyright © 2004-2010, Oracle and/or its affiliates. All rights reserved.