1
14
15 package com.liferay.portlet.social.model;
16
17 import java.io.Serializable;
18
19 import java.util.ArrayList;
20 import java.util.List;
21
22
39 public class SocialEquityAssetEntrySoap implements Serializable {
40 public static SocialEquityAssetEntrySoap toSoapModel(
41 SocialEquityAssetEntry model) {
42 SocialEquityAssetEntrySoap soapModel = new SocialEquityAssetEntrySoap();
43
44 soapModel.setEquityAssetEntryId(model.getEquityAssetEntryId());
45 soapModel.setGroupId(model.getGroupId());
46 soapModel.setCompanyId(model.getCompanyId());
47 soapModel.setUserId(model.getUserId());
48 soapModel.setAssetEntryId(model.getAssetEntryId());
49 soapModel.setInformationK(model.getInformationK());
50 soapModel.setInformationB(model.getInformationB());
51 soapModel.setInformationEquity(model.getInformationEquity());
52
53 return soapModel;
54 }
55
56 public static SocialEquityAssetEntrySoap[] toSoapModels(
57 SocialEquityAssetEntry[] models) {
58 SocialEquityAssetEntrySoap[] soapModels = new SocialEquityAssetEntrySoap[models.length];
59
60 for (int i = 0; i < models.length; i++) {
61 soapModels[i] = toSoapModel(models[i]);
62 }
63
64 return soapModels;
65 }
66
67 public static SocialEquityAssetEntrySoap[][] toSoapModels(
68 SocialEquityAssetEntry[][] models) {
69 SocialEquityAssetEntrySoap[][] soapModels = null;
70
71 if (models.length > 0) {
72 soapModels = new SocialEquityAssetEntrySoap[models.length][models[0].length];
73 }
74 else {
75 soapModels = new SocialEquityAssetEntrySoap[0][0];
76 }
77
78 for (int i = 0; i < models.length; i++) {
79 soapModels[i] = toSoapModels(models[i]);
80 }
81
82 return soapModels;
83 }
84
85 public static SocialEquityAssetEntrySoap[] toSoapModels(
86 List<SocialEquityAssetEntry> models) {
87 List<SocialEquityAssetEntrySoap> soapModels = new ArrayList<SocialEquityAssetEntrySoap>(models.size());
88
89 for (SocialEquityAssetEntry model : models) {
90 soapModels.add(toSoapModel(model));
91 }
92
93 return soapModels.toArray(new SocialEquityAssetEntrySoap[soapModels.size()]);
94 }
95
96 public SocialEquityAssetEntrySoap() {
97 }
98
99 public long getPrimaryKey() {
100 return _equityAssetEntryId;
101 }
102
103 public void setPrimaryKey(long pk) {
104 setEquityAssetEntryId(pk);
105 }
106
107 public long getEquityAssetEntryId() {
108 return _equityAssetEntryId;
109 }
110
111 public void setEquityAssetEntryId(long equityAssetEntryId) {
112 _equityAssetEntryId = equityAssetEntryId;
113 }
114
115 public long getGroupId() {
116 return _groupId;
117 }
118
119 public void setGroupId(long groupId) {
120 _groupId = groupId;
121 }
122
123 public long getCompanyId() {
124 return _companyId;
125 }
126
127 public void setCompanyId(long companyId) {
128 _companyId = companyId;
129 }
130
131 public long getUserId() {
132 return _userId;
133 }
134
135 public void setUserId(long userId) {
136 _userId = userId;
137 }
138
139 public long getAssetEntryId() {
140 return _assetEntryId;
141 }
142
143 public void setAssetEntryId(long assetEntryId) {
144 _assetEntryId = assetEntryId;
145 }
146
147 public double getInformationK() {
148 return _informationK;
149 }
150
151 public void setInformationK(double informationK) {
152 _informationK = informationK;
153 }
154
155 public double getInformationB() {
156 return _informationB;
157 }
158
159 public void setInformationB(double informationB) {
160 _informationB = informationB;
161 }
162
163 public double getInformationEquity() {
164 return _informationEquity;
165 }
166
167 public void setInformationEquity(double informationEquity) {
168 _informationEquity = informationEquity;
169 }
170
171 private long _equityAssetEntryId;
172 private long _groupId;
173 private long _companyId;
174 private long _userId;
175 private long _assetEntryId;
176 private double _informationK;
177 private double _informationB;
178 private double _informationEquity;
179 }