mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - param always true
This commit is contained in:
1 parent
5609bc6d02
commit
19b7637d46
11 files changed
+58
-58
No files matched your search
@@ -143,8 +143,8 @@ public class DeployBeanDescriptor<T> {
|
||||
/**
|
||||
* Set to true for @History entity beans that have history.
|
||||
*/
|
||||
public void setHistorySupport(boolean historySupport) {
|
||||
this.historySupport = historySupport;
|
||||
public void setHistorySupport() {
|
||||
this.historySupport = true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -279,15 +279,15 @@ public class DeployBeanProperty {
|
||||
/**
|
||||
* Mark this property as a placeholder for a unidirectional relationship.
|
||||
*/
|
||||
public void setUndirectionalShadow(boolean undirectionalShadow) {
|
||||
this.undirectionalShadow = undirectionalShadow;
|
||||
public void setUndirectionalShadow() {
|
||||
this.undirectionalShadow = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mark this property as mapping to the discriminator column.
|
||||
*/
|
||||
public void setDiscriminator(boolean discriminator) {
|
||||
this.discriminator = discriminator;
|
||||
public void setDiscriminator() {
|
||||
this.discriminator = true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -307,8 +307,8 @@ public class DeployBeanProperty {
|
||||
/**
|
||||
* Set to true when the property is encrypted in java rather than in the DB.
|
||||
*/
|
||||
public void setLocalEncrypted(boolean localEncrypted) {
|
||||
this.localEncrypted = localEncrypted;
|
||||
public void setLocalEncrypted() {
|
||||
this.localEncrypted = true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -460,8 +460,8 @@ public class DeployBeanProperty {
|
||||
return naturalKey;
|
||||
}
|
||||
|
||||
public void setNaturalKey(boolean naturalKey) {
|
||||
this.naturalKey = naturalKey;
|
||||
public void setNaturalKey() {
|
||||
this.naturalKey = true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -516,8 +516,8 @@ public class DeployBeanProperty {
|
||||
/**
|
||||
* Set if this is a version column used for concurrency checking.
|
||||
*/
|
||||
public void setVersionColumn(boolean isVersionColumn) {
|
||||
this.versionColumn = isVersionColumn;
|
||||
public void setVersionColumn() {
|
||||
this.versionColumn = true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -741,8 +741,8 @@ public class DeployBeanProperty {
|
||||
/**
|
||||
* Mark the property explicitly as a transient property.
|
||||
*/
|
||||
public void setTransient(boolean isTransient) {
|
||||
this.isTransient = isTransient;
|
||||
public void setTransient() {
|
||||
this.isTransient = true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -773,8 +773,8 @@ public class DeployBeanProperty {
|
||||
/**
|
||||
* Set to true if this is included in the unique id.
|
||||
*/
|
||||
public void setId(boolean id) {
|
||||
this.id = id;
|
||||
public void setId() {
|
||||
this.id = true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -788,8 +788,8 @@ public class DeployBeanProperty {
|
||||
/**
|
||||
* Set to true if this is an embedded property.
|
||||
*/
|
||||
public void setEmbedded(boolean embedded) {
|
||||
this.embedded = embedded;
|
||||
public void setEmbedded() {
|
||||
this.embedded = true;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
@@ -800,8 +800,8 @@ public class DeployBeanProperty {
|
||||
return indexed;
|
||||
}
|
||||
|
||||
public void setIndexed(boolean indexed) {
|
||||
this.indexed = indexed;
|
||||
public void setIndexed() {
|
||||
this.indexed = true;
|
||||
}
|
||||
|
||||
public String getIndexName() {
|
||||
@@ -816,7 +816,7 @@ public class DeployBeanProperty {
|
||||
return excludedFromHistory;
|
||||
}
|
||||
|
||||
public void setExcludedFromHistory(boolean excludedFromHistory) {
|
||||
this.excludedFromHistory = excludedFromHistory;
|
||||
public void setExcludedFromHistory() {
|
||||
this.excludedFromHistory = true;
|
||||
}
|
||||
}
|
||||
+4
-4
@@ -78,8 +78,8 @@ public class DeployBeanPropertyAssocMany<T> extends DeployBeanPropertyAssoc<T> {
|
||||
/**
|
||||
* Set to true if this is a many to many.
|
||||
*/
|
||||
public void setManyToMany(boolean isManyToMany) {
|
||||
this.manyToMany = isManyToMany;
|
||||
public void setManyToMany() {
|
||||
this.manyToMany = true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -106,8 +106,8 @@ public class DeployBeanPropertyAssocMany<T> extends DeployBeanPropertyAssoc<T> {
|
||||
/**
|
||||
* Set to true if this is a unidirectional relationship.
|
||||
*/
|
||||
public void setUnidirectional(boolean unidirectional) {
|
||||
this.unidirectional = unidirectional;
|
||||
public void setUnidirectional() {
|
||||
this.unidirectional = true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+4
-4
@@ -49,8 +49,8 @@ public class DeployBeanPropertyAssocOne<T> extends DeployBeanPropertyAssoc<T> {
|
||||
/**
|
||||
* Set to true if this is a OneToOne.
|
||||
*/
|
||||
public void setOneToOne(boolean oneToOne) {
|
||||
this.oneToOne = oneToOne;
|
||||
public void setOneToOne() {
|
||||
this.oneToOne = true;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -64,8 +64,8 @@ public class DeployBeanPropertyAssocOne<T> extends DeployBeanPropertyAssoc<T> {
|
||||
* Set to true if this is the exported side of a OneToOne. This means
|
||||
* it doesn't 'own' the foreign key column. A OneToMany without the many.
|
||||
*/
|
||||
public void setOneToOneExported(boolean oneToOneExported) {
|
||||
this.oneToOneExported = oneToOneExported;
|
||||
public void setOneToOneExported() {
|
||||
this.oneToOneExported = true;
|
||||
}
|
||||
|
||||
}
|
||||
+1
-1
@@ -90,7 +90,7 @@ public class DeployBeanPropertyLists {
|
||||
// using RawSql queries with inheritance
|
||||
String discriminatorColumn = inheritInfo.getDiscriminatorColumn();
|
||||
DeployBeanProperty discDeployProp = new DeployBeanProperty(deploy, String.class, new ScalarTypeString(), null);
|
||||
discDeployProp.setDiscriminator(true);
|
||||
discDeployProp.setDiscriminator();
|
||||
discDeployProp.setName(discriminatorColumn);
|
||||
discDeployProp.setDbColumn(discriminatorColumn);
|
||||
|
||||
|
||||
Reference in new issue
Block a user