org.sdmx.resources.sdmxml.schemas.v2_0.structure
Class TextFormatType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.structure.TextFormatType

public class TextFormatType
extends Object

TextFormatType defines the information for describing a text format. If the TextType attribute is not specified, any valid characters may be included in the text field. (It corresponds to the xs:string datatype of W3C XML Schema.) The textType attribute provides a description of the data type, and may place restrictions on the values of the other attributes, referred to as "facets". The isSequence attribute indicates whether the values are intended to be ordered, and it may work in combination with the interval attribute. The minLength and maxLength attributes specify the minimum and maximum lengths of the value in characters. startValue and endValue are used for inclusive and exclusive ranges, indicating what the bounds of the range are. The interval attribute specifies the permitted interval between two values. The timeInterval attribute indicates the permitted duration between two time expressions. The decimals attribute indicates the number of characters allowed after the decimal separator. The pattern attribute holds any regular expression permitted in the simila facet in W3C XML Schema.

Java class for TextFormatType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TextFormatType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="textType" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}TextTypeType" />
       <attribute name="isSequence" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="minLength" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="maxLength" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="startValue" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="endValue" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="interval" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="timeInterval" type="{http://www.w3.org/2001/XMLSchema}duration" />
       <attribute name="decimals" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="pattern" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  BigInteger decimals
           
protected  Double endValue
           
protected  Double interval
           
protected  Boolean isSequence
           
protected  BigInteger maxLength
           
protected  BigInteger minLength
           
protected  String pattern
           
protected  Double startValue
           
protected  TextTypeType textType
           
protected  Duration timeInterval
           
 
Constructor Summary
TextFormatType()
           
 
Method Summary
 BigInteger getDecimals()
          Gets the value of the decimals property.
 Double getEndValue()
          Gets the value of the endValue property.
 Double getInterval()
          Gets the value of the interval property.
 BigInteger getMaxLength()
          Gets the value of the maxLength property.
 BigInteger getMinLength()
          Gets the value of the minLength property.
 String getPattern()
          Gets the value of the pattern property.
 Double getStartValue()
          Gets the value of the startValue property.
 TextTypeType getTextType()
          Gets the value of the textType property.
 Duration getTimeInterval()
          Gets the value of the timeInterval property.
 Boolean isIsSequence()
          Gets the value of the isSequence property.
 void setDecimals(BigInteger value)
          Sets the value of the decimals property.
 void setEndValue(Double value)
          Sets the value of the endValue property.
 void setInterval(Double value)
          Sets the value of the interval property.
 void setIsSequence(Boolean value)
          Sets the value of the isSequence property.
 void setMaxLength(BigInteger value)
          Sets the value of the maxLength property.
 void setMinLength(BigInteger value)
          Sets the value of the minLength property.
 void setPattern(String value)
          Sets the value of the pattern property.
 void setStartValue(Double value)
          Sets the value of the startValue property.
 void setTextType(TextTypeType value)
          Sets the value of the textType property.
 void setTimeInterval(Duration value)
          Sets the value of the timeInterval property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

textType

protected TextTypeType textType

isSequence

protected Boolean isSequence

minLength

protected BigInteger minLength

maxLength

protected BigInteger maxLength

startValue

protected Double startValue

endValue

protected Double endValue

interval

protected Double interval

timeInterval

protected Duration timeInterval

decimals

protected BigInteger decimals

pattern

protected String pattern
Constructor Detail

TextFormatType

public TextFormatType()
Method Detail

getTextType

public TextTypeType getTextType()
Gets the value of the textType property.

Returns:
possible object is TextTypeType

setTextType

public void setTextType(TextTypeType value)
Sets the value of the textType property.

Parameters:
value - allowed object is TextTypeType

isIsSequence

public Boolean isIsSequence()
Gets the value of the isSequence property.

Returns:
possible object is Boolean

setIsSequence

public void setIsSequence(Boolean value)
Sets the value of the isSequence property.

Parameters:
value - allowed object is Boolean

getMinLength

public BigInteger getMinLength()
Gets the value of the minLength property.

Returns:
possible object is BigInteger

setMinLength

public void setMinLength(BigInteger value)
Sets the value of the minLength property.

Parameters:
value - allowed object is BigInteger

getMaxLength

public BigInteger getMaxLength()
Gets the value of the maxLength property.

Returns:
possible object is BigInteger

setMaxLength

public void setMaxLength(BigInteger value)
Sets the value of the maxLength property.

Parameters:
value - allowed object is BigInteger

getStartValue

public Double getStartValue()
Gets the value of the startValue property.

Returns:
possible object is Double

setStartValue

public void setStartValue(Double value)
Sets the value of the startValue property.

Parameters:
value - allowed object is Double

getEndValue

public Double getEndValue()
Gets the value of the endValue property.

Returns:
possible object is Double

setEndValue

public void setEndValue(Double value)
Sets the value of the endValue property.

Parameters:
value - allowed object is Double

getInterval

public Double getInterval()
Gets the value of the interval property.

Returns:
possible object is Double

setInterval

public void setInterval(Double value)
Sets the value of the interval property.

Parameters:
value - allowed object is Double

getTimeInterval

public Duration getTimeInterval()
Gets the value of the timeInterval property.

Returns:
possible object is Duration

setTimeInterval

public void setTimeInterval(Duration value)
Sets the value of the timeInterval property.

Parameters:
value - allowed object is Duration

getDecimals

public BigInteger getDecimals()
Gets the value of the decimals property.

Returns:
possible object is BigInteger

setDecimals

public void setDecimals(BigInteger value)
Sets the value of the decimals property.

Parameters:
value - allowed object is BigInteger

getPattern

public String getPattern()
Gets the value of the pattern property.

Returns:
possible object is String

setPattern

public void setPattern(String value)
Sets the value of the pattern property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.