public ID id() { for( Ref t : refs ) { ID id = t.id(); if(id!=ID.NONE) return id; } return ID.NONE; }
/** * Should be called from one of the raw type set builders. */ public RawTypeSet( Set<Ref> refs, Multiplicity m ) { this.refs = refs; mul = m; canBeTypeRefs = canBeTypeRefs(); }
@Override public void startDocument() throws SAXException { super.startDocument(); count=0; }
public JType getBaseType() { if(baseType!=null && baseType.name!=null) { return TypeUtil.getType(getCodeModel(), baseType.name, Ring.get(ErrorReceiver.class),getLocation()); } BIProperty next = getDefault(); if(next!=null) return next.getBaseType(); else return null; }
public MimeType getExpectedMimeType() { for( Ref t : refs ) { MimeType mt = t.getExpectedMimeType(); if(mt!=null) return mt; } return null; }
public JType getBaseType() { if(baseType!=null && baseType.name!=null) { return TypeUtil.getType(getCodeModel(), baseType.name, Ring.get(ErrorReceiver.class),getLocation()); } BIProperty next = getDefault(); if(next!=null) return next.getBaseType(); else return null; }
public ID id() { for( Ref t : refs ) { ID id = t.id(); if(id!=ID.NONE) return id; } return ID.NONE; }
public MimeType getExpectedMimeType() { for( Ref t : refs ) { MimeType mt = t.getExpectedMimeType(); if(mt!=null) return mt; } return null; }
/** * Should be called from one of the raw type set builders. */ public RawTypeSet( Set<Ref> refs, Multiplicity m ) { this.refs = refs; mul = m; canBeTypeRefs = canBeTypeRefs(); }
@Override public void startDocument() throws SAXException { super.startDocument(); count=0; }
public JType getBaseType() { if(baseType!=null && baseType.name!=null) { return TypeUtil.getType(getCodeModel(), baseType.name, Ring.get(ErrorReceiver.class),getLocation()); } BIProperty next = getDefault(); if(next!=null) return next.getBaseType(); else return null; }
public ID id() { for( Ref t : refs ) { ID id = t.id(); if(id!=ID.NONE) return id; } return ID.NONE; }
public MimeType getExpectedMimeType() { for( Ref t : refs ) { MimeType mt = t.getExpectedMimeType(); if(mt!=null) return mt; } return null; }
/** * Should be called from one of the raw type set builders. */ public RawTypeSet( Set<Ref> refs, Multiplicity m ) { this.refs = refs; mul = m; canBeTypeRefs = canBeTypeRefs(); }
public JType getBaseType() { if(baseType!=null && baseType.name!=null) { return TypeUtil.getType(getCodeModel(), baseType.name, Ring.get(ErrorReceiver.class),getLocation()); } BIProperty next = getDefault(); if(next!=null) return next.getBaseType(); else return null; }
public ID id() { for( Ref t : refs ) { ID id = t.id(); if(id!=ID.NONE) return id; } return ID.NONE; }
public MimeType getExpectedMimeType() { for( Ref t : refs ) { MimeType mt = t.getExpectedMimeType(); if(mt!=null) return mt; } return null; }
/** * Should be called from one of the raw type set builders. */ public RawTypeSet( Set<Ref> refs, Multiplicity m ) { this.refs = refs; mul = m; canBeTypeRefs = canBeTypeRefs(); }
public ID id() { for( Ref t : refs ) { ID id = t.id(); if(id!=ID.NONE) return id; } return ID.NONE; }
public MimeType getExpectedMimeType() { for( Ref t : refs ) { MimeType mt = t.getExpectedMimeType(); if(mt!=null) return mt; } return null; }