1 17 package org.apache.ws.jaxme.generator.sg.impl; 18 19 import org.apache.ws.jaxme.generator.sg.AtomicTypeSG; 20 import org.apache.ws.jaxme.xs.XSAtomicType; 21 22 25 public class AtomicTypeSGImpl implements AtomicTypeSG { 26 private final String maxExclusive, maxInclusive; 27 private final String minExclusive, minInclusive; 28 private final Long fractionDigits, totalDigits; 29 private final Long length, maxLength, minLength; 30 31 public AtomicTypeSGImpl(XSAtomicType xsAtomicType) { 32 maxExclusive = xsAtomicType.getMaxExclusive(); 33 maxInclusive = xsAtomicType.getMaxInclusive(); 34 minExclusive = xsAtomicType.getMinExclusive(); 35 minInclusive = xsAtomicType.getMinInclusive(); 36 fractionDigits = xsAtomicType.getFractionDigits(); 37 totalDigits = xsAtomicType.getTotalDigits(); 38 length = xsAtomicType.getLength(); 39 maxLength = xsAtomicType.getMaxLength(); 40 minLength = xsAtomicType.getMinLength(); 41 } 42 43 public String getMaxExclusive() { return maxExclusive; } 44 public String getMaxInclusive() { return maxInclusive; } 45 public String getMinExclusive() { return minExclusive; } 46 public String getMinInclusive() { return minInclusive; } 47 public Long getFractionDigits() { return fractionDigits; } 48 public Long getTotalDigits() { return totalDigits; } 49 public Long getLength() { return length; } 50 public Long getMaxLength() { return maxLength; } 51 public Long getMinLength() { return minLength; } 52 } | Popular Tags |