19 package org.turro.financials.entity;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.GeneratedValue;
24 import javax.persistence.GenerationType;
25 import javax.persistence.Id;
26 import javax.persistence.OneToOne;
27 import org.turro.string.Strings;
37 @GeneratedValue(strategy=GenerationType.IDENTITY)
38 @Column(name=
"IDENTIFIER")
44 private long remoteId;
46 private String remoteName;
48 private String remoteServer;
63 this.contract = contract;
71 this.remoteId = remoteId;
79 this.remoteName = remoteName;
87 this.remoteServer = remoteServer;
93 return Strings.isBlank(remoteServer);
void setRemoteName(String remoteName)
void setRemoteId(long remoteId)
void setContract(Contract contract)
void setRemoteServer(String remoteServer)