|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.hcarralero.toljava.TOLLObject
com.hcarralero.toljava.TOLText
public class TOLText
Representa a un objeto TOL de tipo Text
| Constructor Summary | |
|---|---|
TOLText(java.lang.String text)
Construye un objeto de tipo TOLText |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compara a este objeto con otro |
java.lang.String |
getText()
Retorna el texto almacenado |
int |
hashCode()
Calcula el código hash asignado al objeto |
boolean |
isText()
Determina si el objeto corresponde al tipo Text de TOL |
void |
setText(java.lang.String text)
Cambia el texto almacenado por el nuevo texto |
java.lang.String |
toString()
Obtiene una representación como cadena de texto del objeto |
| Methods inherited from class com.hcarralero.toljava.TOLLObject |
|---|
isCode, isComplex, isDate, isMatrix, isPolyn, isRatio, isReal, isReference, isSerie, isSet, isTimeSet, isVMatrix |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TOLText(java.lang.String text)
text - Texto que almacena el objeto| Method Detail |
|---|
public java.lang.String getText()
public void setText(java.lang.String text)
text - el nuevo textopublic boolean isText()
isText in interface TOLObjectisText in class TOLLObjecttrue ya que el objeto corresponde al tipo Text de TOLpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - el objeto con el que se comparará
true si el objeto pasado como parámetro es de tipo
TOLText y contiene un texto similarpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||