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 Answer

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

All Implemented Interfaces:
java.io.Serializable

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

Objects of this class represent answers to a survey taken. An answer object is linked to a question, which in turn is linked to a surveytaken object. An answer may be of type alphanumeric or can be the ID of a choice object.

See Also:
Serialized Form

Constructor Summary
Answer()
           
Answer(long choiceId, long id, java.lang.String overrideValue, long questionId, java.lang.String value)
           

 

Method Summary
 boolean equals(java.lang.Object obj)
           
 long getChoiceId()
          Gets the choiceId value for this Answer.
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 Answer.
 java.lang.String getOverrideValue()
          Gets the overrideValue value for this Answer.
 long getQuestionId()
          Gets the questionId value for this Answer.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 java.lang.String getValue()
          Gets the value value for this Answer.
 int hashCode()
           
 void setChoiceId(long choiceId)
          Sets the choiceId value for this Answer.
 void setId(long id)
          Sets the id value for this Answer.
 void setOverrideValue(java.lang.String overrideValue)
          Sets the overrideValue value for this Answer.
 void setQuestionId(long questionId)
          Sets the questionId value for this Answer.
 void setValue(java.lang.String value)
          Sets the value value for this Answer.

 

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

 

Constructor Detail

Answer

public Answer()

Answer

public Answer(long choiceId,
              long id,
              java.lang.String overrideValue,
              long questionId,
              java.lang.String value)

Method Detail

getChoiceId

public long getChoiceId()
Gets the choiceId value for this Answer.
Returns:
choiceId

setChoiceId

public void setChoiceId(long choiceId)
Sets the choiceId value for this Answer.
Parameters:
choiceId -

getId

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

setId

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

getOverrideValue

public java.lang.String getOverrideValue()
Gets the overrideValue value for this Answer.
Returns:
overrideValue

setOverrideValue

public void setOverrideValue(java.lang.String overrideValue)
Sets the overrideValue value for this Answer.
Parameters:
overrideValue -

getQuestionId

public long getQuestionId()
Gets the questionId value for this Answer.
Returns:
questionId

setQuestionId

public void setQuestionId(long questionId)
Sets the questionId value for this Answer.
Parameters:
questionId -

getValue

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

setValue

public void setValue(java.lang.String value)
Sets the value value for this Answer.
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.