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

View File

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

View File

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

View File

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