|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vishnu.model.values.CharValue
public class CharValue
Representa a los valores de cadenas de caracteres de longitud fija.
Constructor Summary | |
---|---|
CharValue(boolean isNull,
int size)
Construye un valor de cadena de caracteres de la longitud pedida. |
|
CharValue(int size,
char[] c)
construye un valor de cadena de caracteres de la longitud pedida a partir del arreglo de caracteres s. |
|
CharValue(int size,
CharValue c)
construye un valor de cadena de caracteres de la longitud pedida a partir de la cadena de caracteres s. |
|
CharValue(int size,
java.lang.String s)
construye un valor de cadena de caracteres de la longitud pedida a partir de la cadena de caracteres s. |
Method Summary | |
---|---|
char[] |
asChar()
retorna la representacion como arreglo de caracteres del valor. |
boolean |
equals(java.lang.Object o)
|
boolean |
equals(Value v)
|
ValueClass |
getValueClass()
retorna la clase de valor a la que pertener el valor. |
boolean |
greaterThan(CharValue c)
|
boolean |
greaterThan(Value v)
|
boolean |
greaterThanOrEqual(Value v)
|
int |
hashCode()
|
boolean |
isNull()
|
boolean |
lowerThan(Value v)
|
boolean |
lowerThanOrEqual(Value v)
|
int |
size()
retorna la cantidad de caracteres de este valor |
java.lang.String |
toString()
|
java.lang.Object |
value()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CharValue(boolean isNull, int size)
OutOfRangeValueException
- - si el tamaņo es menor a cero.isNull
- - si el valor es nulo o no.size
- - el tamaņo del valor a crearpublic CharValue(int size, java.lang.String s)
public CharValue(int size, CharValue c) throws OutOfRangeValueException
OutOfRangeValueException
public CharValue(int size, char[] c) throws OutOfRangeValueException
OutOfRangeValueException
Method Detail |
---|
public boolean greaterThan(CharValue c)
public boolean equals(Value v)
equals
in interface Value
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ValueClass getValueClass()
Value
getValueClass
in interface Value
public java.lang.String toString()
toString
in interface Value
toString
in class java.lang.Object
public char[] asChar()
public int size()
public boolean greaterThan(Value v)
greaterThan
in interface Value
public boolean greaterThanOrEqual(Value v)
greaterThanOrEqual
in interface Value
public boolean lowerThan(Value v)
lowerThan
in interface Value
public boolean lowerThanOrEqual(Value v)
lowerThanOrEqual
in interface Value
public boolean isNull()
isNull
in interface Value
public java.lang.Object value()
value
in interface Value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |