Question about nillable attributes. The latest geoapi model changes have moved the isNillable() method from The type to its descriptor. Which makes sense, however it begs the question that when the descriptor is null (ie. this attribute is not contained within another attribute) do we assume that isNillable() is true?

If so, what about a convenience method on Attribute that woudl do the following:

boolean nillable() {
  if (getDescriptor() == null)
        return true; not contained within another attribute

  return getDescriptor().isNillable();
}

-Justin


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to