Renamed AssetAction to MemberAssetAction and ShareAction to

MemberShareAction.
This commit is contained in:
Michael Hierweck 2017-04-19 13:48:09 +02:00
parent d8f2345d6f
commit 9f8ccd461b
4 changed files with 8 additions and 8 deletions

View File

@ -36,7 +36,7 @@ public class MemberAsset implements Serializable {
private Date date;
@Column(name="action", nullable = false)
private ShareAction action;
private MemberShareAction action;
@Column(name="amount", nullable = false)
private BigDecimal amount;
@ -76,11 +76,11 @@ public class MemberAsset implements Serializable {
this.date = date;
}
public ShareAction getAction() {
public MemberShareAction getAction() {
return action;
}
public void setAction(ShareAction action) {
public void setAction(MemberShareAction action) {
this.action = action;
}

View File

@ -1,6 +1,6 @@
package de.hsadmin.bo.customer;
public enum AssetAction {
public enum MemberAssetAction {
PAYMENT,
PAYBACK,
ADOPTION,

View File

@ -35,7 +35,7 @@ public class MemberShare implements Serializable {
private Date date;
@Column(name="action", nullable = false)
private ShareAction action;
private MemberShareAction action;
@Column(name="quantity", nullable = false)
private int quantity;
@ -67,11 +67,11 @@ public class MemberShare implements Serializable {
this.date = date;
}
public ShareAction getAction() {
public MemberShareAction getAction() {
return action;
}
public void setAction(ShareAction action) {
public void setAction(MemberShareAction action) {
this.action = action;
}

View File

@ -1,6 +1,6 @@
package de.hsadmin.bo.customer;
public enum ShareAction {
public enum MemberShareAction {
SUBSCRIPTION,
UNSUBSCRIPTION