public GDate getGDateValue() { check_dated(); if (_value == null) return null; return _value; }
public Date getDateValue() { check_dated(); if (_value == null) return null; return _value.getDate(); }
public Calendar getCalendarValue() { check_dated(); if (_value == null) return null; return _value.getCalendar(); }
public int getIntValue() { int code = schemaType().getPrimitiveType().getBuiltinTypeCode(); if (code != SchemaType.BTC_G_DAY && code != SchemaType.BTC_G_MONTH && code != SchemaType.BTC_G_YEAR) throw new XmlValueOutOfRangeException(); check_dated(); if (_value == null) return 0; switch (code) { case SchemaType.BTC_G_DAY: return _value.getDay(); case SchemaType.BTC_G_MONTH: return _value.getMonth(); case SchemaType.BTC_G_YEAR: return _value.getYear(); default: assert(false); throw new IllegalStateException(); } }
public GDate getGDateValue() { check_dated(); if (_value == null) return null; return _value; }
public GDate getGDateValue() { check_dated(); if (_value == null) return null; return _value; }
public Calendar getCalendarValue() { check_dated(); if (_value == null) return null; return _value.getCalendar(); }
public Date getDateValue() { check_dated(); if (_value == null) return null; return _value.getDate(); }
public Calendar getCalendarValue() { check_dated(); if (_value == null) return null; return _value.getCalendar(); }
public Date getDateValue() { check_dated(); if (_value == null) return null; return _value.getDate(); }
public int getIntValue() { int code = schemaType().getPrimitiveType().getBuiltinTypeCode(); if (code != SchemaType.BTC_G_DAY && code != SchemaType.BTC_G_MONTH && code != SchemaType.BTC_G_YEAR) throw new XmlValueOutOfRangeException(); check_dated(); if (_value == null) return 0; switch (code) { case SchemaType.BTC_G_DAY: return _value.getDay(); case SchemaType.BTC_G_MONTH: return _value.getMonth(); case SchemaType.BTC_G_YEAR: return _value.getYear(); default: assert(false); throw new IllegalStateException(); } }
public int getIntValue() { int code = schemaType().getPrimitiveType().getBuiltinTypeCode(); if (code != SchemaType.BTC_G_DAY && code != SchemaType.BTC_G_MONTH && code != SchemaType.BTC_G_YEAR) throw new XmlValueOutOfRangeException(); check_dated(); if (_value == null) return 0; switch (code) { case SchemaType.BTC_G_DAY: return _value.getDay(); case SchemaType.BTC_G_MONTH: return _value.getMonth(); case SchemaType.BTC_G_YEAR: return _value.getYear(); default: assert(false); throw new IllegalStateException(); } }