/** * Returns true if this class inherits a wildcard attribute property * from its ancestor classes. */ public boolean inheritsAttributeWildcard() { if (getRefBaseClass() != null) { CClassRef cref = (CClassRef)baseClass; if (cref.getSchemaComponent().getForeignAttributes().size() > 0) { return true; } } else { for( CClassInfo c=getBaseClass(); c!=null; c=c.getBaseClass() ) { if(c.hasAttributeWildcard) return true; } } return false; }
/** * Returns true if this class inherits a wildcard attribute property * from its ancestor classes. */ public boolean inheritsAttributeWildcard() { if (getRefBaseClass() != null) { CClassRef cref = (CClassRef)baseClass; if (cref.getSchemaComponent().getForeignAttributes().size() > 0) { return true; } } else { for( CClassInfo c=getBaseClass(); c!=null; c=c.getBaseClass() ) { if(c.hasAttributeWildcard) return true; } } return false; }
/** * Returns true if this class inherits a wildcard attribute property * from its ancestor classes. */ public boolean inheritsAttributeWildcard() { if (getRefBaseClass() != null) { CClassRef cref = (CClassRef)baseClass; if (cref.getSchemaComponent().getForeignAttributes().size() > 0) { return true; } } else { for( CClassInfo c=getBaseClass(); c!=null; c=c.getBaseClass() ) { if(c.hasAttributeWildcard) return true; } } return false; }