protected Iterable<ReplaceEdit> createMapKeyClassRenamePackageEdits(
     IPackageFragment originalPackage, String newName) {
   if (this.specifiedMapKeyClass != null) {
     PersistentType mapKeyType = this.getResolvedMapKeyType();
     if ((mapKeyType != null) && mapKeyType.isIn(originalPackage)) {
       return new SingleElementIterable<ReplaceEdit>(
           this.createMapKeyClassRenamePackageEdit(newName));
     }
   }
   return EmptyIterable.<ReplaceEdit>instance();
 }
 protected Iterable<ReplaceEdit> createMapKeyClassMoveTypeEdits(
     IType originalType, IPackageFragment newPackage) {
   if (this.specifiedMapKeyClass != null) {
     PersistentType mapKeyType = this.getResolvedMapKeyType();
     if ((mapKeyType != null) && mapKeyType.isFor(originalType.getFullyQualifiedName('.'))) {
       return new SingleElementIterable<ReplaceEdit>(
           this.createMapKeyClassRenamePackageEdit(newPackage.getElementName()));
     }
   }
   return EmptyIterable.<ReplaceEdit>instance();
 }
 public Iterable<String> getAllOverridableNames() {
   TypeMapping overriddenTypeMapping = this.getOverridableTypeMapping();
   return (overriddenTypeMapping != null)
       ? overriddenTypeMapping.getAllOverridableAttributeNames()
       : EmptyIterable.<String>instance();
 }
 public Iterable<String> getCandidateTableNames() {
   return EmptyIterable.instance();
 }
 protected Iterable<XmlAttributeMapping> getXmlAttributeMappings() {
   Attributes xmlAttributes = this.getXmlAttributes();
   return (xmlAttributes != null)
       ? xmlAttributes.getAttributeMappings()
       : EmptyIterable.<XmlAttributeMapping>instance();
 }
 protected Iterable<AttributeMapping> getTargetEntityNonTransientAttributeMappings() {
   Entity entity = this.getResolvedTargetEntity();
   return (entity != null)
       ? entity.getNonTransientAttributeMappings()
       : EmptyIterable.<AttributeMapping>instance();
 }