|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_0.structure.TextFormatType
public class TextFormatType
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 |
|---|
protected TextTypeType textType
protected Boolean isSequence
protected BigInteger minLength
protected BigInteger maxLength
protected Double startValue
protected Double endValue
protected Double interval
protected Duration timeInterval
protected BigInteger decimals
protected String pattern
| Constructor Detail |
|---|
public TextFormatType()
| Method Detail |
|---|
public TextTypeType getTextType()
TextTypeTypepublic void setTextType(TextTypeType value)
value - allowed object is
TextTypeTypepublic Boolean isIsSequence()
Booleanpublic void setIsSequence(Boolean value)
value - allowed object is
Booleanpublic BigInteger getMinLength()
BigIntegerpublic void setMinLength(BigInteger value)
value - allowed object is
BigIntegerpublic BigInteger getMaxLength()
BigIntegerpublic void setMaxLength(BigInteger value)
value - allowed object is
BigIntegerpublic Double getStartValue()
Doublepublic void setStartValue(Double value)
value - allowed object is
Doublepublic Double getEndValue()
Doublepublic void setEndValue(Double value)
value - allowed object is
Doublepublic Double getInterval()
Doublepublic void setInterval(Double value)
value - allowed object is
Doublepublic Duration getTimeInterval()
Durationpublic void setTimeInterval(Duration value)
value - allowed object is
Durationpublic BigInteger getDecimals()
BigIntegerpublic void setDecimals(BigInteger value)
value - allowed object is
BigIntegerpublic String getPattern()
Stringpublic void setPattern(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||