private RawTypeSet create() { return new RawTypeSet(refs,mul); }
private RawTypeSet create() { return new RawTypeSet(refs,mul); }
private RawTypeSet create() { return new RawTypeSet(refs,mul); }
private RawTypeSet create() { return new RawTypeSet(refs,mul); }
private RawTypeSet create() { return new RawTypeSet(refs,mul); }
/** * @param optional * if this whole property is optional due to the * occurence constraints on ancestors, set this to true. * this will prevent the primitive types to be generated. */ public static RawTypeSet build( XSParticle p, boolean optional ) { RawTypeSetBuilder rtsb = new RawTypeSetBuilder(); rtsb.particle(p); Multiplicity mul = MultiplicityCounter.theInstance.particle(p); if(optional) mul = mul.makeOptional(); return new RawTypeSet(rtsb.refs,mul); }
/** * @param optional * if this whole property is optional due to the * occurrence constraints on ancestors, set this to true. * this will prevent the primitive types to be generated. */ public static RawTypeSet build( XSParticle p, boolean optional ) { RawTypeSetBuilder rtsb = new RawTypeSetBuilder(); rtsb.particle(p); Multiplicity mul = MultiplicityCounter.theInstance.particle(p); if(optional) mul = mul.makeOptional(); return new RawTypeSet(rtsb.refs,mul); }
/** * @param optional * if this whole property is optional due to the * occurrence constraints on ancestors, set this to true. * this will prevent the primitive types to be generated. */ public static RawTypeSet build( XSParticle p, boolean optional ) { RawTypeSetBuilder rtsb = new RawTypeSetBuilder(); rtsb.particle(p); Multiplicity mul = MultiplicityCounter.theInstance.particle(p); if(optional) mul = mul.makeOptional(); return new RawTypeSet(rtsb.refs,mul); }
/** * @param optional * if this whole property is optional due to the * occurrence constraints on ancestors, set this to true. * this will prevent the primitive types to be generated. */ public static RawTypeSet build( XSParticle p, boolean optional ) { RawTypeSetBuilder rtsb = new RawTypeSetBuilder(); rtsb.particle(p); Multiplicity mul = MultiplicityCounter.theInstance.particle(p); if(optional) mul = mul.makeOptional(); return new RawTypeSet(rtsb.refs,mul); }
/** * @param optional * if this whole property is optional due to the * occurence constraints on ancestors, set this to true. * this will prevent the primitive types to be generated. */ public static RawTypeSet build( XSParticle p, boolean optional ) { RawTypeSetBuilder rtsb = new RawTypeSetBuilder(); rtsb.particle(p); Multiplicity mul = MultiplicityCounter.theInstance.particle(p); if(optional) mul = mul.makeOptional(); return new RawTypeSet(rtsb.refs,mul); }
m = m.makeOptional(); RawTypeSet rts = new RawTypeSet(rtsb.getRefs(),m);
m = m.makeOptional(); RawTypeSet rts = new RawTypeSet(rtsb.getRefs(),m);
m = m.makeOptional(); RawTypeSet rts = new RawTypeSet(rtsb.getRefs(),m);
m = m.makeOptional(); RawTypeSet rts = new RawTypeSet(rtsb.getRefs(),m);
m = m.makeOptional(); RawTypeSet rts = new RawTypeSet(rtsb.getRefs(),m);