Methods Summary |
---|
public void | addAccount(AccountFacade acct)
addAccount(Identifier.currentIdentifier(), acct);
|
public void | addAccount(com.imaginary.lwp.Identifier id, AccountFacade acct)
Customer cust;
reset();
try {
cust = (Customer)getEntity();
cust.addAccount(id, acct);
}
catch( RemoteException e ) {
reconnect();
cust = (Customer)getEntity();
cust.addAccount(id, acct);
}
|
public java.util.Collection | getAccounts()
return getAccounts(Identifier.currentIdentifier());
|
public java.util.Collection | getAccounts(com.imaginary.lwp.Identifier id)
Collection val;
if( contains(Customer.ACCOUNTS) ) {
val = (Collection)get(Customer.ACCOUNTS);
return val;
}
try {
Customer ref;
ref = (Customer)getEntity();
val = ref.getAccounts(id);
}
catch( RemoteException e ) {
Customer ref;
reconnect();
ref = (Customer)getEntity();
val = ref.getAccounts(id);
}
put(Customer.ACCOUNTS, val);
return val;
|
public java.lang.String | getFirstName()
return getFirstName(Identifier.currentIdentifier());
|
public java.lang.String | getFirstName(com.imaginary.lwp.Identifier id)Delegates to getFirstName in the associated entity.
String val;
if( contains(Customer.FIRST_NAME) ) {
val = (String)get(Customer.FIRST_NAME);
return val;
}
try {
Customer ref;
ref = (Customer)getEntity();
val = ref.getFirstName(id);
}
catch( RemoteException e ) {
Customer ref;
reconnect();
ref = (Customer)getEntity();
val = ref.getFirstName(id);
}
put(Customer.FIRST_NAME, val);
return val;
|
public java.lang.String | getLastName()
return getLastName(Identifier.currentIdentifier());
|
public java.lang.String | getLastName(com.imaginary.lwp.Identifier id)Delegates to getLastName in the associated entity.
String val;
if( contains(Customer.LAST_NAME) ) {
val = (String)get(Customer.LAST_NAME);
return val;
}
try {
Customer ref;
ref = (Customer)getEntity();
val = ref.getLastName(id);
}
catch( RemoteException e ) {
Customer ref;
reconnect();
ref = (Customer)getEntity();
val = ref.getLastName(id);
}
put(Customer.LAST_NAME, val);
return val;
|
public java.lang.String | getSocialSecurity()
return getSocialSecurity(Identifier.currentIdentifier());
|
public java.lang.String | getSocialSecurity(com.imaginary.lwp.Identifier id)Delegates to getSocialSecurity in the associated entity.
String val;
if( contains(Customer.SOCIAL_SECURITY) ) {
val = (String)get(Customer.SOCIAL_SECURITY);
return val;
}
try {
Customer ref;
ref = (Customer)getEntity();
val = ref.getSocialSecurity(id);
}
catch( RemoteException e ) {
Customer ref;
reconnect();
ref = (Customer)getEntity();
val = ref.getSocialSecurity(id);
}
put(Customer.SOCIAL_SECURITY, val);
return val;
|