sat
Class ConceptDateSAT

java.lang.Object
  |
  +--sat.ConceptSAT
        |
        +--sat.ConceptDateSAT
Direct Known Subclasses:
ConceptDateRankSAT

public class ConceptDateSAT
extends ConceptSAT


Field Summary
protected  java.lang.String FORMAT
           
 
Fields inherited from class sat.ConceptSAT
DESCRIPTION, KEY, PRINT_VALUE, SOURCE, VALUE, XML_VALUE
 
Constructor Summary
ConceptDateSAT()
          Construye un nuevo ConceptDateSAT.
 
Method Summary
 java.lang.String getFormat()
          Obtener el formato de fecha del concepto.
 void setFormat(java.lang.String FORMAT)
          Seleccionar el formato de fecha del concepto.
 void setValue(java.lang.String VALUE)
          Seleccionar el valor del concepto.
 
Methods inherited from class sat.ConceptSAT
getDescription, getKey, getPrintValue, getSource, getValue, getXMLValue, reset, setDescription, setKey, setSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORMAT

protected java.lang.String FORMAT
Constructor Detail

ConceptDateSAT

public ConceptDateSAT()
Construye un nuevo ConceptDateSAT.
Method Detail

getFormat

public java.lang.String getFormat()
Obtener el formato de fecha del concepto. El valor por omisión es una cadena de caracteres vacía.
Returns:
Un objeto String correspondiente al formato de fecha del concepto.

setFormat

public void setFormat(java.lang.String FORMAT)
Seleccionar el formato de fecha del concepto. Si se recibe un formato de fecha no permitido como argumento, se asignará una cadena de caracteres vacía como valor. Estos son los formatos de fecha permitidos: "yyyy", "ddyyyy", "yyyydd", "MMyyyy", "yyyyMM", "ddMMyyyy", "MMddyyyy", "yyMMdd", "yyyyMMdd", "yyyyddMM", "ddyyyyMM", "MMyyyydd", "dd/yyyy", "yyyy/dd", "MM/yyyy", "yyyy/MM", "dd/MM/yyyy", "MM/dd/yyyy", "yyyy/MM/dd", "yyyy/dd/MM", "dd/yyyy/MM" y "MM/yyyy/dd". [dd = día][MM = mes][yyyy = año].
Parameters:
FORMAT - Formato de fecha del concepto.

setValue

public void setValue(java.lang.String VALUE)
              throws ExceptionSAT
Seleccionar el valor del concepto. Cuando el valor del concepto es aceptado, se asigna un valor de impresión y un valor XML.
Overrides:
setValue in class ConceptSAT
Parameters:
VALUE - Valor del concepto.
Throws:
ExceptionSAT - Si se recibe un valor nulo, una cadena de caracteres vacía, o un valor que no corresponda al formato de fecha especificado.