|
|||||||||
| 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.TOLCode
public class TOLCode
Representa a un objeto TOL de tipo Code.
| Constructor Summary | |
|---|---|
TOLCode(java.lang.String function,
java.lang.String info)
Construye un objeto de tipo TOLCode. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Compara a este objeto con otro. |
java.lang.String |
getFunction()
Obtiene el nombre de la función asignada al objeto. |
java.lang.String |
getInfo()
Obtiene la información del objeto. |
int |
hashCode()
Calcula el código hash asignado al objeto. |
boolean |
isCode()
Determina si el objeto corresponde al tipo Code de TOL. |
void |
setFunction(java.lang.String function)
Cambia el nombre de la función asignada al objeto. |
java.lang.String |
toString()
Obtiene una representación como cadena de texto del objeto en el formato |
| Methods inherited from class com.hcarralero.toljava.TOLLObject |
|---|
isComplex, isDate, isMatrix, isPolyn, isRatio, isReal, isReference, isSerie, isSet, isText, isTimeSet, isVMatrix |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TOLCode(java.lang.String function,
java.lang.String info)
TOLCode.
function - nombre de la función asignada al objeto.info - información.| Method Detail |
|---|
public java.lang.String getFunction()
public void setFunction(java.lang.String function)
function - nuevo nombre.public java.lang.String getInfo()
public boolean isCode()
isCode in interface TOLObjectisCode in class TOLLObjecttrue ya que el objeto corresponde al tipo Code de TOL.public 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 TOLCode
y tiene nombre e información idéntica.public 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 | ||||||||