You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Brian Deep <bd...@cc-sw.com> on 2005/01/05 16:42:08 UTC

Re[2]: Uniqueness

Wednesday, January 5, 2005, 7:48:36 AM, you wrote:
> Hey-o Radu,

> On Tue, 4 Jan 2005 15:35:39 -0800, Radu Preotiuc-Pietro <ra...@bea.com> wrote:
>> What about SchemaGlobalElement.getIdentityConstraints() ?

> In v1.0.3 it's SchemaLocalElement.getIdentityConstraints(), which is
> what I used in my example.

>> boolean hasIC = obj.schemaType().getContentModel().getParticleChild(0).getIdentityConstraints().length>0;

So, are you missing a cast here?

boolean hasIC = ((SchemaLocalElement) obj.schemaType.getContentModel.getParticleChild(0)).getIndentityConstraints().length > 0;




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org