Skip to content

some cleanups around property accessors #10687

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ interface ColumnDefaults {

Boolean isInsertable();

Boolean isUpdateable();
Boolean isUpdatable();
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Boolean isInsertable() {
}

@Override
public Boolean isUpdateable() {
public Boolean isUpdatable() {
return Boolean.TRUE;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Boolean isInsertable() {
}

@Override
public Boolean isUpdateable() {
public Boolean isUpdatable() {
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public Boolean isInsertable() {
}

@Override
public Boolean isUpdateable() {
return property.isUpdateable();
public Boolean isUpdatable() {
return property.isUpdatable();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1554,7 +1554,7 @@ public Boolean isInsertable() {
}

@Override
public Boolean isUpdateable() {
public Boolean isUpdatable() {
return hbmProp.isUpdate();
}
},
Expand Down Expand Up @@ -2797,7 +2797,7 @@ public Boolean isInsertable() {
}

@Override
public Boolean isUpdateable() {
public Boolean isUpdatable() {
return true;
}
},
Expand Down Expand Up @@ -3027,7 +3027,7 @@ public Boolean isInsertable() {
}

@Override
public Boolean isUpdateable() {
public Boolean isUpdatable() {
return true;
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public TargetColumnAdapterJaxbColumn(JaxbColumnImpl jaxbColumn, ColumnDefaults c
this.jaxbColumn.setNullable( columnDefaults.isNullable() );
this.jaxbColumn.setUnique( columnDefaults.isUnique() );
this.jaxbColumn.setInsertable( columnDefaults.isInsertable() );
this.jaxbColumn.setUpdatable( columnDefaults.isUpdateable() );
this.jaxbColumn.setUpdatable( columnDefaults.isUpdatable() );
}

public JaxbColumnImpl getTargetColumn() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public TargetColumnAdapterJaxbJoinColumn(JaxbJoinColumnImpl jaxbColumn, ColumnDe
this.jaxbColumn.setNullable( columnDefaults.isNullable() );
this.jaxbColumn.setUnique( columnDefaults.isUnique() );
this.jaxbColumn.setInsertable( columnDefaults.isInsertable() );
this.jaxbColumn.setUpdatable( columnDefaults.isUpdateable() );
this.jaxbColumn.setUpdatable( columnDefaults.isUpdatable() );
}

public JaxbJoinColumnImpl getTargetColumn() {
Expand Down
Loading