261262263264265266267
@Override public void clearAttributes() { super.clearAttributes(); // post dummy event for no specific attribute this.dbAttributeRemoved(new AttributeEvent(this, null, this, MapEvent.REMOVE)); }
6566676869707172737475
.getName() .toUpperCase()); if (wasPrimaryKey != willBePrimaryKey) { attr.setPrimaryKey(willBePrimaryKey); e.dbAttributeChanged(new AttributeEvent(this, attr, e)); mergerContext.getModelMergeDelegate().dbAttributeModified(attr); } }
198199200201202203204
* attribute * @since 3.0 */ public void addAttribute(DbAttribute attr) { super.addAttribute(attr); this.dbAttributeAdded(new AttributeEvent(this, attr, this, MapEvent.ADD)); }
211212213214215216217
*/ @Override @Deprecated public void addAttribute(Attribute attr) { super.addAttribute(attr); this.dbAttributeAdded(new AttributeEvent(this, attr, this, MapEvent.ADD)); }
243244245246247248249
} } } super.removeAttribute(attrName); this.dbAttributeRemoved(new AttributeEvent(this, attr, this, MapEvent.REMOVE)); }
250251252253254255256
195196197198199200201202203204205
if (this.primaryKey != primaryKey) { this.primaryKey = primaryKey; Entity e = this.getEntity(); if (e instanceof DbAttributeListener) { ((DbAttributeListener) e).dbAttributeChanged(new AttributeEvent( this, this, e)); } }
264265266267268269270271272273274
if (this.generated != generated) { this.generated = generated; Entity e = this.getEntity(); if (e instanceof DbAttributeListener) { ((DbAttributeListener) e).dbAttributeChanged(new AttributeEvent( this, this, e)); } }
199200201202203204205
212213214215216217218