| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.jaxme.generator.sg.impl.FacetImpl
| Nested Class Summary | 
| Nested classes inherited from class org.apache.ws.jaxme.generator.sg.Facet | 
| Facet.Type | 
| Field Summary | 
| Fields inherited from interface org.apache.ws.jaxme.generator.sg.Facet | 
| ENUMERATION, FRACTION_DIGITS, LENGTH, MAX_EXCLUSIVE, MAX_INCLUSIVE, MAX_LENGTH, MIN_EXCLUSIVE, MIN_INCLUSIVE, MIN_LENGTH, PATTERN, TOTAL_DIGITS | 
| Constructor Summary | |
| FacetImpl(XSType pType,
          XSEnumeration[] pEnumerations)Creates a new enumeration facet. | |
| Method Summary | |
|  long | getNumValue()If the facet has the types Facet.FRACTION_DIGITSorFacet.TOTAL_DIGITS:
 Returns the facet value. | 
|  Facet.Type | getType()Returns the facet type. | 
|  java.lang.String | getValue()If the facet has the types Facet.MAX_EXCLUSIVE,Facet.MIN_EXCLUSIVE,Facet.MAX_INCLUSIVE, orFacet.MIN_INCLUSIVE: Returns the facet value. | 
|  java.lang.String[] | getValues()If the facet has the types Facet.ENUMERATIONorFacet.PATTERN:
 Used to fetch the possible values. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public FacetImpl(XSType pType,
                 XSEnumeration[] pEnumerations)
Creates a new enumeration facet.
| Method Detail | 
public Facet.Type getType()
FacetReturns the facet type.
getType in interface Facetpublic java.lang.String[] getValues()
FacetIf the facet has the types Facet.ENUMERATION or Facet.PATTERN:
 Used to fetch the possible values.
getValues in interface Facetpublic java.lang.String getValue()
FacetIf the facet has the types Facet.MAX_EXCLUSIVE, Facet.MIN_EXCLUSIVE,
 Facet.MAX_INCLUSIVE, or Facet.MIN_INCLUSIVE: Returns the facet value.
getValue in interface Facetpublic long getNumValue()
FacetIf the facet has the types Facet.FRACTION_DIGITS or Facet.TOTAL_DIGITS:
 Returns the facet value.
getNumValue in interface Facet| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||