Return-Path:
Delivered-To: apmail-ws-tuscany-commits-archive@locus.apache.org
Received: (qmail 32223 invoked from network); 21 Feb 2007 18:50:17 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2)
by minotaur.apache.org with SMTP; 21 Feb 2007 18:50:17 -0000
Received: (qmail 72345 invoked by uid 500); 21 Feb 2007 18:50:24 -0000
Delivered-To: apmail-ws-tuscany-commits-archive@ws.apache.org
Received: (qmail 72315 invoked by uid 500); 21 Feb 2007 18:50:23 -0000
Mailing-List: contact tuscany-commits-help@ws.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: tuscany-dev@ws.apache.org
Delivered-To: mailing list tuscany-commits@ws.apache.org
Received: (qmail 72264 invoked by uid 99); 21 Feb 2007 18:50:23 -0000
Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133)
by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Feb 2007 10:50:23 -0800
X-ASF-Spam-Status: No, hits=-99.5 required=10.0
tests=ALL_TRUSTED,NO_REAL_NAME
X-Spam-Check-By: apache.org
Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3)
by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Feb 2007 10:50:09 -0800
Received: by eris.apache.org (Postfix, from userid 65534)
id 432121A9824; Wed, 21 Feb 2007 10:49:49 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r510143 [3/5] - in
/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl: ./
src/main/java/bigbank/ src/main/java/bigbank/account/
src/main/java/bigbank/account/services/
src/main/java/bigbank/account/services/accountdata/...
Date: Wed, 21 Feb 2007 18:49:46 -0000
To: tuscany-commits@ws.apache.org
From: antelder@apache.org
X-Mailer: svnmailer-1.1.0
Message-Id: <20070221184949.432121A9824@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
Added: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountLogImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountLogImpl.java?view=auto&rev=510143
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountLogImpl.java (added)
+++ incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountLogImpl.java Wed Feb 21 10:49:44 2007
@@ -0,0 +1,224 @@
+/**
+ *
+ *
+ *
+ * $Id$
+ */
+package com.bigbank.account.impl;
+
+import com.bigbank.account.AccountFactory;
+import com.bigbank.account.AccountLog;
+import com.bigbank.account.AccountLogEntry;
+import com.bigbank.account.StockLogEntry;
+
+import commonj.sdo.Type;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.tuscany.sdo.impl.DataObjectBase;
+
+/**
+ *
+ * An implementation of the model object 'Log'.
+ *
+ *
+ * The following features are implemented:
+ *
+ * - {@link com.bigbank.account.impl.AccountLogImpl#getAccountLogEntries Account Log Entries}
+ * - {@link com.bigbank.account.impl.AccountLogImpl#getStockLogEntries Stock Log Entries}
+ *
+ *
+ *
+ * @generated
+ */
+public class AccountLogImpl extends DataObjectBase implements AccountLog
+{
+ /**
+ * The feature id for the 'Account Log Entries' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int ACCOUNT_LOG_ENTRIES = 0;
+
+ /**
+ * The feature id for the 'Stock Log Entries' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int STOCK_LOG_ENTRIES = 1;
+
+ /**
+ * This represents the number of properties for this type.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+
+ public final static int SDO_PROPERTY_COUNT = 2;
+
+ /**
+ * The cached value of the '{@link #getAccountLogEntries() Account Log Entries}' containment reference list.
+ *
+ *
+ * @see #getAccountLogEntries()
+ * @generated
+ * @ordered
+ */
+
+ protected List accountLogEntries = null;
+
+ /**
+ * The cached value of the '{@link #getStockLogEntries() Stock Log Entries}' containment reference list.
+ *
+ *
+ * @see #getStockLogEntries()
+ * @generated
+ * @ordered
+ */
+
+ protected List stockLogEntries = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public AccountLogImpl()
+ {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Type getType()
+ {
+ return ((AccountFactoryImpl)AccountFactory.INSTANCE).getAccountLog();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public List getAccountLogEntries()
+ {
+ if (accountLogEntries == null)
+ {
+ accountLogEntries = createPropertyList(ListKind.CONTAINMENT, AccountLogEntry.class, ACCOUNT_LOG_ENTRIES);
+ }
+ return accountLogEntries;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public List getStockLogEntries()
+ {
+ if (stockLogEntries == null)
+ {
+ stockLogEntries = createPropertyList(ListKind.CONTAINMENT, StockLogEntry.class, STOCK_LOG_ENTRIES);
+ }
+ return stockLogEntries;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public ChangeContext inverseRemove(Object otherEnd, int propertyIndex, ChangeContext changeContext)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_LOG_ENTRIES:
+ return removeFromList(getAccountLogEntries(), otherEnd, changeContext);
+ case STOCK_LOG_ENTRIES:
+ return removeFromList(getStockLogEntries(), otherEnd, changeContext);
+ }
+ return super.inverseRemove(otherEnd, propertyIndex, changeContext);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Object get(int propertyIndex, boolean resolve)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_LOG_ENTRIES:
+ return getAccountLogEntries();
+ case STOCK_LOG_ENTRIES:
+ return getStockLogEntries();
+ }
+ return super.get(propertyIndex, resolve);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void set(int propertyIndex, Object newValue)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_LOG_ENTRIES:
+ getAccountLogEntries().clear();
+ getAccountLogEntries().addAll((Collection)newValue);
+ return;
+ case STOCK_LOG_ENTRIES:
+ getStockLogEntries().clear();
+ getStockLogEntries().addAll((Collection)newValue);
+ return;
+ }
+ super.set(propertyIndex, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void unset(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_LOG_ENTRIES:
+ getAccountLogEntries().clear();
+ return;
+ case STOCK_LOG_ENTRIES:
+ getStockLogEntries().clear();
+ return;
+ }
+ super.unset(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean isSet(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_LOG_ENTRIES:
+ return accountLogEntries != null && !accountLogEntries.isEmpty();
+ case STOCK_LOG_ENTRIES:
+ return stockLogEntries != null && !stockLogEntries.isEmpty();
+ }
+ return super.isSet(propertyIndex);
+ }
+
+} //AccountLogImpl
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountLogImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountLogImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountReportImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountReportImpl.java?view=auto&rev=510143
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountReportImpl.java (added)
+++ incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountReportImpl.java Wed Feb 21 10:49:44 2007
@@ -0,0 +1,224 @@
+/**
+ *
+ *
+ *
+ * $Id$
+ */
+package com.bigbank.account.impl;
+
+import com.bigbank.account.AccountFactory;
+import com.bigbank.account.AccountReport;
+import com.bigbank.account.AccountSummary;
+import com.bigbank.account.StockSummary;
+
+import commonj.sdo.Type;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.apache.tuscany.sdo.impl.DataObjectBase;
+
+/**
+ *
+ * An implementation of the model object 'Report'.
+ *
+ *
+ * The following features are implemented:
+ *
+ * - {@link com.bigbank.account.impl.AccountReportImpl#getAccountSummaries Account Summaries}
+ * - {@link com.bigbank.account.impl.AccountReportImpl#getStockSummaries Stock Summaries}
+ *
+ *
+ *
+ * @generated
+ */
+public class AccountReportImpl extends DataObjectBase implements AccountReport
+{
+ /**
+ * The feature id for the 'Account Summaries' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int ACCOUNT_SUMMARIES = 0;
+
+ /**
+ * The feature id for the 'Stock Summaries' containment reference list.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int STOCK_SUMMARIES = 1;
+
+ /**
+ * This represents the number of properties for this type.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+
+ public final static int SDO_PROPERTY_COUNT = 2;
+
+ /**
+ * The cached value of the '{@link #getAccountSummaries() Account Summaries}' containment reference list.
+ *
+ *
+ * @see #getAccountSummaries()
+ * @generated
+ * @ordered
+ */
+
+ protected List accountSummaries = null;
+
+ /**
+ * The cached value of the '{@link #getStockSummaries() Stock Summaries}' containment reference list.
+ *
+ *
+ * @see #getStockSummaries()
+ * @generated
+ * @ordered
+ */
+
+ protected List stockSummaries = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public AccountReportImpl()
+ {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Type getType()
+ {
+ return ((AccountFactoryImpl)AccountFactory.INSTANCE).getAccountReport();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public List getAccountSummaries()
+ {
+ if (accountSummaries == null)
+ {
+ accountSummaries = createPropertyList(ListKind.CONTAINMENT, AccountSummary.class, ACCOUNT_SUMMARIES);
+ }
+ return accountSummaries;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public List getStockSummaries()
+ {
+ if (stockSummaries == null)
+ {
+ stockSummaries = createPropertyList(ListKind.CONTAINMENT, StockSummary.class, STOCK_SUMMARIES);
+ }
+ return stockSummaries;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public ChangeContext inverseRemove(Object otherEnd, int propertyIndex, ChangeContext changeContext)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_SUMMARIES:
+ return removeFromList(getAccountSummaries(), otherEnd, changeContext);
+ case STOCK_SUMMARIES:
+ return removeFromList(getStockSummaries(), otherEnd, changeContext);
+ }
+ return super.inverseRemove(otherEnd, propertyIndex, changeContext);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Object get(int propertyIndex, boolean resolve)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_SUMMARIES:
+ return getAccountSummaries();
+ case STOCK_SUMMARIES:
+ return getStockSummaries();
+ }
+ return super.get(propertyIndex, resolve);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void set(int propertyIndex, Object newValue)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_SUMMARIES:
+ getAccountSummaries().clear();
+ getAccountSummaries().addAll((Collection)newValue);
+ return;
+ case STOCK_SUMMARIES:
+ getStockSummaries().clear();
+ getStockSummaries().addAll((Collection)newValue);
+ return;
+ }
+ super.set(propertyIndex, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void unset(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_SUMMARIES:
+ getAccountSummaries().clear();
+ return;
+ case STOCK_SUMMARIES:
+ getStockSummaries().clear();
+ return;
+ }
+ super.unset(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean isSet(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_SUMMARIES:
+ return accountSummaries != null && !accountSummaries.isEmpty();
+ case STOCK_SUMMARIES:
+ return stockSummaries != null && !stockSummaries.isEmpty();
+ }
+ return super.isSet(propertyIndex);
+ }
+
+} //AccountReportImpl
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountReportImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountReportImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountSummaryImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountSummaryImpl.java?view=auto&rev=510143
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountSummaryImpl.java (added)
+++ incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountSummaryImpl.java Wed Feb 21 10:49:44 2007
@@ -0,0 +1,309 @@
+/**
+ *
+ *
+ *
+ * $Id$
+ */
+package com.bigbank.account.impl;
+
+import com.bigbank.account.AccountFactory;
+import com.bigbank.account.AccountSummary;
+
+import commonj.sdo.Type;
+
+import org.apache.tuscany.sdo.impl.DataObjectBase;
+
+/**
+ *
+ * An implementation of the model object 'Summary'.
+ *
+ *
+ * The following features are implemented:
+ *
+ * - {@link com.bigbank.account.impl.AccountSummaryImpl#getAccountNumber Account Number}
+ * - {@link com.bigbank.account.impl.AccountSummaryImpl#getAccountType Account Type}
+ * - {@link com.bigbank.account.impl.AccountSummaryImpl#getBalance Balance}
+ *
+ *
+ *
+ * @generated
+ */
+public class AccountSummaryImpl extends DataObjectBase implements AccountSummary
+{
+ /**
+ * The feature id for the 'Account Number' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int ACCOUNT_NUMBER = 0;
+
+ /**
+ * The feature id for the 'Account Type' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int ACCOUNT_TYPE = 1;
+
+ /**
+ * The feature id for the 'Balance' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int BALANCE = 2;
+
+ /**
+ * This represents the number of properties for this type.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+
+ public final static int SDO_PROPERTY_COUNT = 3;
+
+ /**
+ * The default value of the '{@link #getAccountNumber() Account Number}' attribute.
+ *
+ *
+ * @see #getAccountNumber()
+ * @generated
+ * @ordered
+ */
+ protected static final String ACCOUNT_NUMBER_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getAccountNumber() Account Number}' attribute.
+ *
+ *
+ * @see #getAccountNumber()
+ * @generated
+ * @ordered
+ */
+ protected String accountNumber = ACCOUNT_NUMBER_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getAccountType() Account Type}' attribute.
+ *
+ *
+ * @see #getAccountType()
+ * @generated
+ * @ordered
+ */
+ protected static final String ACCOUNT_TYPE_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getAccountType() Account Type}' attribute.
+ *
+ *
+ * @see #getAccountType()
+ * @generated
+ * @ordered
+ */
+ protected String accountType = ACCOUNT_TYPE_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getBalance() Balance}' attribute.
+ *
+ *
+ * @see #getBalance()
+ * @generated
+ * @ordered
+ */
+ protected static final float BALANCE_DEFAULT_ = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getBalance() Balance}' attribute.
+ *
+ *
+ * @see #getBalance()
+ * @generated
+ * @ordered
+ */
+ protected float balance = BALANCE_DEFAULT_;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public AccountSummaryImpl()
+ {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Type getType()
+ {
+ return ((AccountFactoryImpl)AccountFactory.INSTANCE).getAccountSummary();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getAccountNumber()
+ {
+ return accountNumber;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setAccountNumber(String newAccountNumber)
+ {
+ accountNumber = newAccountNumber;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getAccountType()
+ {
+ return accountType;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setAccountType(String newAccountType)
+ {
+ accountType = newAccountType;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public float getBalance()
+ {
+ return balance;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setBalance(float newBalance)
+ {
+ balance = newBalance;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Object get(int propertyIndex, boolean resolve)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_NUMBER:
+ return getAccountNumber();
+ case ACCOUNT_TYPE:
+ return getAccountType();
+ case BALANCE:
+ return new Float(getBalance());
+ }
+ return super.get(propertyIndex, resolve);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void set(int propertyIndex, Object newValue)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_NUMBER:
+ setAccountNumber((String)newValue);
+ return;
+ case ACCOUNT_TYPE:
+ setAccountType((String)newValue);
+ return;
+ case BALANCE:
+ setBalance(((Float)newValue).floatValue());
+ return;
+ }
+ super.set(propertyIndex, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void unset(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_NUMBER:
+ setAccountNumber(ACCOUNT_NUMBER_DEFAULT_);
+ return;
+ case ACCOUNT_TYPE:
+ setAccountType(ACCOUNT_TYPE_DEFAULT_);
+ return;
+ case BALANCE:
+ setBalance(BALANCE_DEFAULT_);
+ return;
+ }
+ super.unset(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean isSet(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case ACCOUNT_NUMBER:
+ return ACCOUNT_NUMBER_DEFAULT_ == null ? accountNumber != null : !ACCOUNT_NUMBER_DEFAULT_.equals(accountNumber);
+ case ACCOUNT_TYPE:
+ return ACCOUNT_TYPE_DEFAULT_ == null ? accountType != null : !ACCOUNT_TYPE_DEFAULT_.equals(accountType);
+ case BALANCE:
+ return balance != BALANCE_DEFAULT_;
+ }
+ return super.isSet(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String toString()
+ {
+ if (isProxy(this)) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (accountNumber: ");
+ result.append(accountNumber);
+ result.append(", accountType: ");
+ result.append(accountType);
+ result.append(", balance: ");
+ result.append(balance);
+ result.append(')');
+ return result.toString();
+ }
+
+} //AccountSummaryImpl
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountSummaryImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/AccountSummaryImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/CustomerProfileDataImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/CustomerProfileDataImpl.java?view=auto&rev=510143
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/CustomerProfileDataImpl.java (added)
+++ incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/CustomerProfileDataImpl.java Wed Feb 21 10:49:44 2007
@@ -0,0 +1,554 @@
+/**
+ *
+ *
+ *
+ * $Id$
+ */
+package com.bigbank.account.impl;
+
+import com.bigbank.account.AccountFactory;
+import com.bigbank.account.CustomerProfileData;
+
+import commonj.sdo.Type;
+
+import org.apache.tuscany.api.annotation.DataType;
+import org.apache.tuscany.sdo.impl.DataObjectBase;
+
+/**
+ *
+ * An implementation of the model object 'Customer Profile Data'.
+ *
+ *
+ * The following features are implemented:
+ *
+ * - {@link com.bigbank.account.impl.CustomerProfileDataImpl#getFirstName First Name}
+ * - {@link com.bigbank.account.impl.CustomerProfileDataImpl#getLastName Last Name}
+ * - {@link com.bigbank.account.impl.CustomerProfileDataImpl#getAddress Address}
+ * - {@link com.bigbank.account.impl.CustomerProfileDataImpl#getEmail Email}
+ * - {@link com.bigbank.account.impl.CustomerProfileDataImpl#getLoginID Login ID}
+ * - {@link com.bigbank.account.impl.CustomerProfileDataImpl#getPassword Password}
+ * - {@link com.bigbank.account.impl.CustomerProfileDataImpl#getId Id}
+ *
+ *
+ *
+ * @generated
+ */
+public class CustomerProfileDataImpl extends DataObjectBase implements CustomerProfileData
+{
+ /**
+ * The feature id for the 'First Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int FIRST_NAME = 0;
+
+ /**
+ * The feature id for the 'Last Name' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int LAST_NAME = 1;
+
+ /**
+ * The feature id for the 'Address' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int ADDRESS = 2;
+
+ /**
+ * The feature id for the 'Email' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int EMAIL = 3;
+
+ /**
+ * The feature id for the 'Login ID' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int LOGIN_ID = 4;
+
+ /**
+ * The feature id for the 'Password' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int PASSWORD = 5;
+
+ /**
+ * The feature id for the 'Id' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int ID = 6;
+
+ /**
+ * This represents the number of properties for this type.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+
+ public final static int SDO_PROPERTY_COUNT = 7;
+
+ /**
+ * The default value of the '{@link #getFirstName() First Name}' attribute.
+ *
+ *
+ * @see #getFirstName()
+ * @generated
+ * @ordered
+ */
+ protected static final String FIRST_NAME_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getFirstName() First Name}' attribute.
+ *
+ *
+ * @see #getFirstName()
+ * @generated
+ * @ordered
+ */
+ protected String firstName = FIRST_NAME_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getLastName() Last Name}' attribute.
+ *
+ *
+ * @see #getLastName()
+ * @generated
+ * @ordered
+ */
+ protected static final String LAST_NAME_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getLastName() Last Name}' attribute.
+ *
+ *
+ * @see #getLastName()
+ * @generated
+ * @ordered
+ */
+ protected String lastName = LAST_NAME_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getAddress() Address}' attribute.
+ *
+ *
+ * @see #getAddress()
+ * @generated
+ * @ordered
+ */
+ protected static final String ADDRESS_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getAddress() Address}' attribute.
+ *
+ *
+ * @see #getAddress()
+ * @generated
+ * @ordered
+ */
+ protected String address = ADDRESS_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getEmail() Email}' attribute.
+ *
+ *
+ * @see #getEmail()
+ * @generated
+ * @ordered
+ */
+ protected static final String EMAIL_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getEmail() Email}' attribute.
+ *
+ *
+ * @see #getEmail()
+ * @generated
+ * @ordered
+ */
+ protected String email = EMAIL_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getLoginID() Login ID}' attribute.
+ *
+ *
+ * @see #getLoginID()
+ * @generated
+ * @ordered
+ */
+ protected static final String LOGIN_ID_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getLoginID() Login ID}' attribute.
+ *
+ *
+ * @see #getLoginID()
+ * @generated
+ * @ordered
+ */
+ protected String loginID = LOGIN_ID_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getPassword() Password}' attribute.
+ *
+ *
+ * @see #getPassword()
+ * @generated
+ * @ordered
+ */
+ protected static final String PASSWORD_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getPassword() Password}' attribute.
+ *
+ *
+ * @see #getPassword()
+ * @generated
+ * @ordered
+ */
+ protected String password = PASSWORD_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getId() Id}' attribute.
+ *
+ *
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final int ID_DEFAULT_ = 0;
+
+ /**
+ * The cached value of the '{@link #getId() Id}' attribute.
+ *
+ *
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected int id = ID_DEFAULT_;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public CustomerProfileDataImpl()
+ {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Type getType()
+ {
+ return ((AccountFactoryImpl)AccountFactory.INSTANCE).getCustomerProfileData();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getFirstName()
+ {
+ return firstName;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setFirstName(String newFirstName)
+ {
+ firstName = newFirstName;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getLastName()
+ {
+ return lastName;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setLastName(String newLastName)
+ {
+ lastName = newLastName;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getAddress()
+ {
+ return address;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setAddress(String newAddress)
+ {
+ address = newAddress;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getEmail()
+ {
+ return email;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setEmail(String newEmail)
+ {
+ email = newEmail;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getLoginID()
+ {
+ return loginID;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setLoginID(String newLoginID)
+ {
+ loginID = newLoginID;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getPassword()
+ {
+ return password;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setPassword(String newPassword)
+ {
+ password = newPassword;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public int getId()
+ {
+ return id;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setId(int newId)
+ {
+ id = newId;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Object get(int propertyIndex, boolean resolve)
+ {
+ switch (propertyIndex)
+ {
+ case FIRST_NAME:
+ return getFirstName();
+ case LAST_NAME:
+ return getLastName();
+ case ADDRESS:
+ return getAddress();
+ case EMAIL:
+ return getEmail();
+ case LOGIN_ID:
+ return getLoginID();
+ case PASSWORD:
+ return getPassword();
+ case ID:
+ return new Integer(getId());
+ }
+ return super.get(propertyIndex, resolve);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void set(int propertyIndex, Object newValue)
+ {
+ switch (propertyIndex)
+ {
+ case FIRST_NAME:
+ setFirstName((String)newValue);
+ return;
+ case LAST_NAME:
+ setLastName((String)newValue);
+ return;
+ case ADDRESS:
+ setAddress((String)newValue);
+ return;
+ case EMAIL:
+ setEmail((String)newValue);
+ return;
+ case LOGIN_ID:
+ setLoginID((String)newValue);
+ return;
+ case PASSWORD:
+ setPassword((String)newValue);
+ return;
+ case ID:
+ setId(((Integer)newValue).intValue());
+ return;
+ }
+ super.set(propertyIndex, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void unset(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case FIRST_NAME:
+ setFirstName(FIRST_NAME_DEFAULT_);
+ return;
+ case LAST_NAME:
+ setLastName(LAST_NAME_DEFAULT_);
+ return;
+ case ADDRESS:
+ setAddress(ADDRESS_DEFAULT_);
+ return;
+ case EMAIL:
+ setEmail(EMAIL_DEFAULT_);
+ return;
+ case LOGIN_ID:
+ setLoginID(LOGIN_ID_DEFAULT_);
+ return;
+ case PASSWORD:
+ setPassword(PASSWORD_DEFAULT_);
+ return;
+ case ID:
+ setId(ID_DEFAULT_);
+ return;
+ }
+ super.unset(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean isSet(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case FIRST_NAME:
+ return FIRST_NAME_DEFAULT_ == null ? firstName != null : !FIRST_NAME_DEFAULT_.equals(firstName);
+ case LAST_NAME:
+ return LAST_NAME_DEFAULT_ == null ? lastName != null : !LAST_NAME_DEFAULT_.equals(lastName);
+ case ADDRESS:
+ return ADDRESS_DEFAULT_ == null ? address != null : !ADDRESS_DEFAULT_.equals(address);
+ case EMAIL:
+ return EMAIL_DEFAULT_ == null ? email != null : !EMAIL_DEFAULT_.equals(email);
+ case LOGIN_ID:
+ return LOGIN_ID_DEFAULT_ == null ? loginID != null : !LOGIN_ID_DEFAULT_.equals(loginID);
+ case PASSWORD:
+ return PASSWORD_DEFAULT_ == null ? password != null : !PASSWORD_DEFAULT_.equals(password);
+ case ID:
+ return id != ID_DEFAULT_;
+ }
+ return super.isSet(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String toString()
+ {
+ if (isProxy(this)) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (firstName: ");
+ result.append(firstName);
+ result.append(", lastName: ");
+ result.append(lastName);
+ result.append(", address: ");
+ result.append(address);
+ result.append(", email: ");
+ result.append(email);
+ result.append(", loginID: ");
+ result.append(loginID);
+ result.append(", password: ");
+ result.append(password);
+ result.append(", id: ");
+ result.append(id);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CustomerProfileDataImpl
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/CustomerProfileDataImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/CustomerProfileDataImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/StockLogEntryImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/StockLogEntryImpl.java?view=auto&rev=510143
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/StockLogEntryImpl.java (added)
+++ incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/StockLogEntryImpl.java Wed Feb 21 10:49:44 2007
@@ -0,0 +1,492 @@
+/**
+ *
+ *
+ *
+ * $Id$
+ */
+package com.bigbank.account.impl;
+
+import com.bigbank.account.AccountFactory;
+import com.bigbank.account.StockLogEntry;
+
+import commonj.sdo.Type;
+
+import org.apache.tuscany.sdo.impl.DataObjectBase;
+
+/**
+ *
+ * An implementation of the model object 'Stock Log Entry'.
+ *
+ *
+ * The following features are implemented:
+ *
+ * - {@link com.bigbank.account.impl.StockLogEntryImpl#getLogSeqNo Log Seq No}
+ * - {@link com.bigbank.account.impl.StockLogEntryImpl#getId Id}
+ * - {@link com.bigbank.account.impl.StockLogEntryImpl#getSymbol Symbol}
+ * - {@link com.bigbank.account.impl.StockLogEntryImpl#getQuantity Quantity}
+ * - {@link com.bigbank.account.impl.StockLogEntryImpl#getActionType Action Type}
+ * - {@link com.bigbank.account.impl.StockLogEntryImpl#getPurchaseLotNumber Purchase Lot Number}
+ *
+ *
+ *
+ * @generated
+ */
+public class StockLogEntryImpl extends DataObjectBase implements StockLogEntry
+{
+ /**
+ * The feature id for the 'Log Seq No' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int LOG_SEQ_NO = 0;
+
+ /**
+ * The feature id for the 'Id' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int ID = 1;
+
+ /**
+ * The feature id for the 'Symbol' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int SYMBOL = 2;
+
+ /**
+ * The feature id for the 'Quantity' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int QUANTITY = 3;
+
+ /**
+ * The feature id for the 'Action Type' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int ACTION_TYPE = 4;
+
+ /**
+ * The feature id for the 'Purchase Lot Number' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int PURCHASE_LOT_NUMBER = 5;
+
+ /**
+ * This represents the number of properties for this type.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+
+ public final static int SDO_PROPERTY_COUNT = 6;
+
+ /**
+ * The default value of the '{@link #getLogSeqNo() Log Seq No}' attribute.
+ *
+ *
+ * @see #getLogSeqNo()
+ * @generated
+ * @ordered
+ */
+ protected static final int LOG_SEQ_NO_DEFAULT_ = 0;
+
+ /**
+ * The cached value of the '{@link #getLogSeqNo() Log Seq No}' attribute.
+ *
+ *
+ * @see #getLogSeqNo()
+ * @generated
+ * @ordered
+ */
+ protected int logSeqNo = LOG_SEQ_NO_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getId() Id}' attribute.
+ *
+ *
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final int ID_DEFAULT_ = 0;
+
+ /**
+ * The cached value of the '{@link #getId() Id}' attribute.
+ *
+ *
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected int id = ID_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getSymbol() Symbol}' attribute.
+ *
+ *
+ * @see #getSymbol()
+ * @generated
+ * @ordered
+ */
+ protected static final String SYMBOL_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getSymbol() Symbol}' attribute.
+ *
+ *
+ * @see #getSymbol()
+ * @generated
+ * @ordered
+ */
+ protected String symbol = SYMBOL_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getQuantity() Quantity}' attribute.
+ *
+ *
+ * @see #getQuantity()
+ * @generated
+ * @ordered
+ */
+ protected static final int QUANTITY_DEFAULT_ = 0;
+
+ /**
+ * The cached value of the '{@link #getQuantity() Quantity}' attribute.
+ *
+ *
+ * @see #getQuantity()
+ * @generated
+ * @ordered
+ */
+ protected int quantity = QUANTITY_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getActionType() Action Type}' attribute.
+ *
+ *
+ * @see #getActionType()
+ * @generated
+ * @ordered
+ */
+ protected static final String ACTION_TYPE_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getActionType() Action Type}' attribute.
+ *
+ *
+ * @see #getActionType()
+ * @generated
+ * @ordered
+ */
+ protected String actionType = ACTION_TYPE_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getPurchaseLotNumber() Purchase Lot Number}' attribute.
+ *
+ *
+ * @see #getPurchaseLotNumber()
+ * @generated
+ * @ordered
+ */
+ protected static final int PURCHASE_LOT_NUMBER_DEFAULT_ = 0;
+
+ /**
+ * The cached value of the '{@link #getPurchaseLotNumber() Purchase Lot Number}' attribute.
+ *
+ *
+ * @see #getPurchaseLotNumber()
+ * @generated
+ * @ordered
+ */
+ protected int purchaseLotNumber = PURCHASE_LOT_NUMBER_DEFAULT_;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public StockLogEntryImpl()
+ {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Type getType()
+ {
+ return ((AccountFactoryImpl)AccountFactory.INSTANCE).getStockLogEntry();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public int getLogSeqNo()
+ {
+ return logSeqNo;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setLogSeqNo(int newLogSeqNo)
+ {
+ logSeqNo = newLogSeqNo;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public int getId()
+ {
+ return id;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setId(int newId)
+ {
+ id = newId;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getSymbol()
+ {
+ return symbol;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setSymbol(String newSymbol)
+ {
+ symbol = newSymbol;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public int getQuantity()
+ {
+ return quantity;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setQuantity(int newQuantity)
+ {
+ quantity = newQuantity;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getActionType()
+ {
+ return actionType;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setActionType(String newActionType)
+ {
+ actionType = newActionType;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public int getPurchaseLotNumber()
+ {
+ return purchaseLotNumber;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setPurchaseLotNumber(int newPurchaseLotNumber)
+ {
+ purchaseLotNumber = newPurchaseLotNumber;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Object get(int propertyIndex, boolean resolve)
+ {
+ switch (propertyIndex)
+ {
+ case LOG_SEQ_NO:
+ return new Integer(getLogSeqNo());
+ case ID:
+ return new Integer(getId());
+ case SYMBOL:
+ return getSymbol();
+ case QUANTITY:
+ return new Integer(getQuantity());
+ case ACTION_TYPE:
+ return getActionType();
+ case PURCHASE_LOT_NUMBER:
+ return new Integer(getPurchaseLotNumber());
+ }
+ return super.get(propertyIndex, resolve);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void set(int propertyIndex, Object newValue)
+ {
+ switch (propertyIndex)
+ {
+ case LOG_SEQ_NO:
+ setLogSeqNo(((Integer)newValue).intValue());
+ return;
+ case ID:
+ setId(((Integer)newValue).intValue());
+ return;
+ case SYMBOL:
+ setSymbol((String)newValue);
+ return;
+ case QUANTITY:
+ setQuantity(((Integer)newValue).intValue());
+ return;
+ case ACTION_TYPE:
+ setActionType((String)newValue);
+ return;
+ case PURCHASE_LOT_NUMBER:
+ setPurchaseLotNumber(((Integer)newValue).intValue());
+ return;
+ }
+ super.set(propertyIndex, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void unset(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case LOG_SEQ_NO:
+ setLogSeqNo(LOG_SEQ_NO_DEFAULT_);
+ return;
+ case ID:
+ setId(ID_DEFAULT_);
+ return;
+ case SYMBOL:
+ setSymbol(SYMBOL_DEFAULT_);
+ return;
+ case QUANTITY:
+ setQuantity(QUANTITY_DEFAULT_);
+ return;
+ case ACTION_TYPE:
+ setActionType(ACTION_TYPE_DEFAULT_);
+ return;
+ case PURCHASE_LOT_NUMBER:
+ setPurchaseLotNumber(PURCHASE_LOT_NUMBER_DEFAULT_);
+ return;
+ }
+ super.unset(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean isSet(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case LOG_SEQ_NO:
+ return logSeqNo != LOG_SEQ_NO_DEFAULT_;
+ case ID:
+ return id != ID_DEFAULT_;
+ case SYMBOL:
+ return SYMBOL_DEFAULT_ == null ? symbol != null : !SYMBOL_DEFAULT_.equals(symbol);
+ case QUANTITY:
+ return quantity != QUANTITY_DEFAULT_;
+ case ACTION_TYPE:
+ return ACTION_TYPE_DEFAULT_ == null ? actionType != null : !ACTION_TYPE_DEFAULT_.equals(actionType);
+ case PURCHASE_LOT_NUMBER:
+ return purchaseLotNumber != PURCHASE_LOT_NUMBER_DEFAULT_;
+ }
+ return super.isSet(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String toString()
+ {
+ if (isProxy(this)) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (logSeqNo: ");
+ result.append(logSeqNo);
+ result.append(", id: ");
+ result.append(id);
+ result.append(", symbol: ");
+ result.append(symbol);
+ result.append(", quantity: ");
+ result.append(quantity);
+ result.append(", actionType: ");
+ result.append(actionType);
+ result.append(", purchaseLotNumber: ");
+ result.append(purchaseLotNumber);
+ result.append(')');
+ return result.toString();
+ }
+
+} //StockLogEntryImpl
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/StockLogEntryImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/StockLogEntryImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/StockSummaryImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/StockSummaryImpl.java?view=auto&rev=510143
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/StockSummaryImpl.java (added)
+++ incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/StockSummaryImpl.java Wed Feb 21 10:49:44 2007
@@ -0,0 +1,675 @@
+/**
+ *
+ *
+ *
+ * $Id$
+ */
+package com.bigbank.account.impl;
+
+import com.bigbank.account.AccountFactory;
+import com.bigbank.account.StockSummary;
+
+import commonj.sdo.Type;
+
+import org.apache.tuscany.sdo.impl.DataObjectBase;
+
+/**
+ *
+ * An implementation of the model object 'Stock Summary'.
+ *
+ *
+ * The following features are implemented:
+ *
+ * - {@link com.bigbank.account.impl.StockSummaryImpl#getPurchaseLotNumber Purchase Lot Number}
+ * - {@link com.bigbank.account.impl.StockSummaryImpl#getSymbol Symbol}
+ * - {@link com.bigbank.account.impl.StockSummaryImpl#getQuantity Quantity}
+ * - {@link com.bigbank.account.impl.StockSummaryImpl#getPurchaseDate Purchase Date}
+ * - {@link com.bigbank.account.impl.StockSummaryImpl#getPurchasePrice Purchase Price}
+ * - {@link com.bigbank.account.impl.StockSummaryImpl#getCurrentPrice Current Price}
+ * - {@link com.bigbank.account.impl.StockSummaryImpl#getCompany Company}
+ * - {@link com.bigbank.account.impl.StockSummaryImpl#getHighPrice High Price}
+ * - {@link com.bigbank.account.impl.StockSummaryImpl#getLowPrice Low Price}
+ *
+ *
+ *
+ * @generated
+ */
+public class StockSummaryImpl extends DataObjectBase implements StockSummary
+{
+ /**
+ * The feature id for the 'Purchase Lot Number' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int PURCHASE_LOT_NUMBER = 0;
+
+ /**
+ * The feature id for the 'Symbol' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int SYMBOL = 1;
+
+ /**
+ * The feature id for the 'Quantity' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int QUANTITY = 2;
+
+ /**
+ * The feature id for the 'Purchase Date' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int PURCHASE_DATE = 3;
+
+ /**
+ * The feature id for the 'Purchase Price' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int PURCHASE_PRICE = 4;
+
+ /**
+ * The feature id for the 'Current Price' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int CURRENT_PRICE = 5;
+
+ /**
+ * The feature id for the 'Company' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int COMPANY = 6;
+
+ /**
+ * The feature id for the 'High Price' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int HIGH_PRICE = 7;
+
+ /**
+ * The feature id for the 'Low Price' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int LOW_PRICE = 8;
+
+ /**
+ * This represents the number of properties for this type.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+
+ public final static int SDO_PROPERTY_COUNT = 9;
+
+ /**
+ * The default value of the '{@link #getPurchaseLotNumber() Purchase Lot Number}' attribute.
+ *
+ *
+ * @see #getPurchaseLotNumber()
+ * @generated
+ * @ordered
+ */
+ protected static final int PURCHASE_LOT_NUMBER_DEFAULT_ = 0;
+
+ /**
+ * The cached value of the '{@link #getPurchaseLotNumber() Purchase Lot Number}' attribute.
+ *
+ *
+ * @see #getPurchaseLotNumber()
+ * @generated
+ * @ordered
+ */
+ protected int purchaseLotNumber = PURCHASE_LOT_NUMBER_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getSymbol() Symbol}' attribute.
+ *
+ *
+ * @see #getSymbol()
+ * @generated
+ * @ordered
+ */
+ protected static final String SYMBOL_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getSymbol() Symbol}' attribute.
+ *
+ *
+ * @see #getSymbol()
+ * @generated
+ * @ordered
+ */
+ protected String symbol = SYMBOL_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getQuantity() Quantity}' attribute.
+ *
+ *
+ * @see #getQuantity()
+ * @generated
+ * @ordered
+ */
+ protected static final int QUANTITY_DEFAULT_ = 0;
+
+ /**
+ * The cached value of the '{@link #getQuantity() Quantity}' attribute.
+ *
+ *
+ * @see #getQuantity()
+ * @generated
+ * @ordered
+ */
+ protected int quantity = QUANTITY_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getPurchaseDate() Purchase Date}' attribute.
+ *
+ *
+ * @see #getPurchaseDate()
+ * @generated
+ * @ordered
+ */
+ protected static final String PURCHASE_DATE_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getPurchaseDate() Purchase Date}' attribute.
+ *
+ *
+ * @see #getPurchaseDate()
+ * @generated
+ * @ordered
+ */
+ protected String purchaseDate = PURCHASE_DATE_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getPurchasePrice() Purchase Price}' attribute.
+ *
+ *
+ * @see #getPurchasePrice()
+ * @generated
+ * @ordered
+ */
+ protected static final float PURCHASE_PRICE_DEFAULT_ = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getPurchasePrice() Purchase Price}' attribute.
+ *
+ *
+ * @see #getPurchasePrice()
+ * @generated
+ * @ordered
+ */
+ protected float purchasePrice = PURCHASE_PRICE_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getCurrentPrice() Current Price}' attribute.
+ *
+ *
+ * @see #getCurrentPrice()
+ * @generated
+ * @ordered
+ */
+ protected static final float CURRENT_PRICE_DEFAULT_ = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getCurrentPrice() Current Price}' attribute.
+ *
+ *
+ * @see #getCurrentPrice()
+ * @generated
+ * @ordered
+ */
+ protected float currentPrice = CURRENT_PRICE_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getCompany() Company}' attribute.
+ *
+ *
+ * @see #getCompany()
+ * @generated
+ * @ordered
+ */
+ protected static final String COMPANY_DEFAULT_ = null;
+
+ /**
+ * The cached value of the '{@link #getCompany() Company}' attribute.
+ *
+ *
+ * @see #getCompany()
+ * @generated
+ * @ordered
+ */
+ protected String company = COMPANY_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getHighPrice() High Price}' attribute.
+ *
+ *
+ * @see #getHighPrice()
+ * @generated
+ * @ordered
+ */
+ protected static final float HIGH_PRICE_DEFAULT_ = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getHighPrice() High Price}' attribute.
+ *
+ *
+ * @see #getHighPrice()
+ * @generated
+ * @ordered
+ */
+ protected float highPrice = HIGH_PRICE_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #getLowPrice() Low Price}' attribute.
+ *
+ *
+ * @see #getLowPrice()
+ * @generated
+ * @ordered
+ */
+ protected static final float LOW_PRICE_DEFAULT_ = 0.0F;
+
+ /**
+ * The cached value of the '{@link #getLowPrice() Low Price}' attribute.
+ *
+ *
+ * @see #getLowPrice()
+ * @generated
+ * @ordered
+ */
+ protected float lowPrice = LOW_PRICE_DEFAULT_;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public StockSummaryImpl()
+ {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Type getType()
+ {
+ return ((AccountFactoryImpl)AccountFactory.INSTANCE).getStockSummary();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public int getPurchaseLotNumber()
+ {
+ return purchaseLotNumber;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setPurchaseLotNumber(int newPurchaseLotNumber)
+ {
+ purchaseLotNumber = newPurchaseLotNumber;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getSymbol()
+ {
+ return symbol;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setSymbol(String newSymbol)
+ {
+ symbol = newSymbol;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public int getQuantity()
+ {
+ return quantity;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setQuantity(int newQuantity)
+ {
+ quantity = newQuantity;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getPurchaseDate()
+ {
+ return purchaseDate;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setPurchaseDate(String newPurchaseDate)
+ {
+ purchaseDate = newPurchaseDate;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public float getPurchasePrice()
+ {
+ return purchasePrice;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setPurchasePrice(float newPurchasePrice)
+ {
+ purchasePrice = newPurchasePrice;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public float getCurrentPrice()
+ {
+ return currentPrice;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setCurrentPrice(float newCurrentPrice)
+ {
+ currentPrice = newCurrentPrice;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String getCompany()
+ {
+ return company;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setCompany(String newCompany)
+ {
+ company = newCompany;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public float getHighPrice()
+ {
+ return highPrice;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setHighPrice(float newHighPrice)
+ {
+ highPrice = newHighPrice;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public float getLowPrice()
+ {
+ return lowPrice;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setLowPrice(float newLowPrice)
+ {
+ lowPrice = newLowPrice;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Object get(int propertyIndex, boolean resolve)
+ {
+ switch (propertyIndex)
+ {
+ case PURCHASE_LOT_NUMBER:
+ return new Integer(getPurchaseLotNumber());
+ case SYMBOL:
+ return getSymbol();
+ case QUANTITY:
+ return new Integer(getQuantity());
+ case PURCHASE_DATE:
+ return getPurchaseDate();
+ case PURCHASE_PRICE:
+ return new Float(getPurchasePrice());
+ case CURRENT_PRICE:
+ return new Float(getCurrentPrice());
+ case COMPANY:
+ return getCompany();
+ case HIGH_PRICE:
+ return new Float(getHighPrice());
+ case LOW_PRICE:
+ return new Float(getLowPrice());
+ }
+ return super.get(propertyIndex, resolve);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void set(int propertyIndex, Object newValue)
+ {
+ switch (propertyIndex)
+ {
+ case PURCHASE_LOT_NUMBER:
+ setPurchaseLotNumber(((Integer)newValue).intValue());
+ return;
+ case SYMBOL:
+ setSymbol((String)newValue);
+ return;
+ case QUANTITY:
+ setQuantity(((Integer)newValue).intValue());
+ return;
+ case PURCHASE_DATE:
+ setPurchaseDate((String)newValue);
+ return;
+ case PURCHASE_PRICE:
+ setPurchasePrice(((Float)newValue).floatValue());
+ return;
+ case CURRENT_PRICE:
+ setCurrentPrice(((Float)newValue).floatValue());
+ return;
+ case COMPANY:
+ setCompany((String)newValue);
+ return;
+ case HIGH_PRICE:
+ setHighPrice(((Float)newValue).floatValue());
+ return;
+ case LOW_PRICE:
+ setLowPrice(((Float)newValue).floatValue());
+ return;
+ }
+ super.set(propertyIndex, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void unset(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case PURCHASE_LOT_NUMBER:
+ setPurchaseLotNumber(PURCHASE_LOT_NUMBER_DEFAULT_);
+ return;
+ case SYMBOL:
+ setSymbol(SYMBOL_DEFAULT_);
+ return;
+ case QUANTITY:
+ setQuantity(QUANTITY_DEFAULT_);
+ return;
+ case PURCHASE_DATE:
+ setPurchaseDate(PURCHASE_DATE_DEFAULT_);
+ return;
+ case PURCHASE_PRICE:
+ setPurchasePrice(PURCHASE_PRICE_DEFAULT_);
+ return;
+ case CURRENT_PRICE:
+ setCurrentPrice(CURRENT_PRICE_DEFAULT_);
+ return;
+ case COMPANY:
+ setCompany(COMPANY_DEFAULT_);
+ return;
+ case HIGH_PRICE:
+ setHighPrice(HIGH_PRICE_DEFAULT_);
+ return;
+ case LOW_PRICE:
+ setLowPrice(LOW_PRICE_DEFAULT_);
+ return;
+ }
+ super.unset(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean isSet(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case PURCHASE_LOT_NUMBER:
+ return purchaseLotNumber != PURCHASE_LOT_NUMBER_DEFAULT_;
+ case SYMBOL:
+ return SYMBOL_DEFAULT_ == null ? symbol != null : !SYMBOL_DEFAULT_.equals(symbol);
+ case QUANTITY:
+ return quantity != QUANTITY_DEFAULT_;
+ case PURCHASE_DATE:
+ return PURCHASE_DATE_DEFAULT_ == null ? purchaseDate != null : !PURCHASE_DATE_DEFAULT_.equals(purchaseDate);
+ case PURCHASE_PRICE:
+ return purchasePrice != PURCHASE_PRICE_DEFAULT_;
+ case CURRENT_PRICE:
+ return currentPrice != CURRENT_PRICE_DEFAULT_;
+ case COMPANY:
+ return COMPANY_DEFAULT_ == null ? company != null : !COMPANY_DEFAULT_.equals(company);
+ case HIGH_PRICE:
+ return highPrice != HIGH_PRICE_DEFAULT_;
+ case LOW_PRICE:
+ return lowPrice != LOW_PRICE_DEFAULT_;
+ }
+ return super.isSet(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String toString()
+ {
+ if (isProxy(this)) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (purchaseLotNumber: ");
+ result.append(purchaseLotNumber);
+ result.append(", symbol: ");
+ result.append(symbol);
+ result.append(", quantity: ");
+ result.append(quantity);
+ result.append(", purchaseDate: ");
+ result.append(purchaseDate);
+ result.append(", purchasePrice: ");
+ result.append(purchasePrice);
+ result.append(", currentPrice: ");
+ result.append(currentPrice);
+ result.append(", company: ");
+ result.append(company);
+ result.append(", highPrice: ");
+ result.append(highPrice);
+ result.append(", lowPrice: ");
+ result.append(lowPrice);
+ result.append(')');
+ return result.toString();
+ }
+
+} //StockSummaryImpl
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/StockSummaryImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/StockSummaryImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/createAccountImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/createAccountImpl.java?view=auto&rev=510143
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/createAccountImpl.java (added)
+++ incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/createAccountImpl.java Wed Feb 21 10:49:44 2007
@@ -0,0 +1,335 @@
+/**
+ *
+ *
+ *
+ * $Id$
+ */
+package com.bigbank.account.impl;
+
+import com.bigbank.account.AccountFactory;
+import com.bigbank.account.CustomerProfileData;
+import com.bigbank.account.createAccount;
+
+import commonj.sdo.Type;
+
+import org.apache.tuscany.sdo.impl.DataObjectBase;
+
+/**
+ *
+ * An implementation of the model object 'create Account'.
+ *
+ *
+ * The following features are implemented:
+ *
+ * - {@link com.bigbank.account.impl.createAccountImpl#getCustomerProfile Customer Profile}
+ * - {@link com.bigbank.account.impl.createAccountImpl#isCreateSavings Create Savings}
+ * - {@link com.bigbank.account.impl.createAccountImpl#isCreateCheckings Create Checkings}
+ *
+ *
+ *
+ * @generated
+ */
+public class createAccountImpl extends DataObjectBase implements createAccount
+{
+ /**
+ * The feature id for the 'Customer Profile' containment reference.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int CUSTOMER_PROFILE = 0;
+
+ /**
+ * The feature id for the 'Create Savings' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int CREATE_SAVINGS = 1;
+
+ /**
+ * The feature id for the 'Create Checkings' attribute.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int CREATE_CHECKINGS = 2;
+
+ /**
+ * This represents the number of properties for this type.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+
+ public final static int SDO_PROPERTY_COUNT = 3;
+
+ /**
+ * The cached value of the '{@link #getCustomerProfile() Customer Profile}' containment reference.
+ *
+ *
+ * @see #getCustomerProfile()
+ * @generated
+ * @ordered
+ */
+
+ protected CustomerProfileData customerProfile = null;
+
+ /**
+ * The default value of the '{@link #isCreateSavings() Create Savings}' attribute.
+ *
+ *
+ * @see #isCreateSavings()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean CREATE_SAVINGS_DEFAULT_ = false;
+
+ /**
+ * The cached value of the '{@link #isCreateSavings() Create Savings}' attribute.
+ *
+ *
+ * @see #isCreateSavings()
+ * @generated
+ * @ordered
+ */
+ protected boolean createSavings = CREATE_SAVINGS_DEFAULT_;
+
+ /**
+ * The default value of the '{@link #isCreateCheckings() Create Checkings}' attribute.
+ *
+ *
+ * @see #isCreateCheckings()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean CREATE_CHECKINGS_DEFAULT_ = false;
+
+ /**
+ * The cached value of the '{@link #isCreateCheckings() Create Checkings}' attribute.
+ *
+ *
+ * @see #isCreateCheckings()
+ * @generated
+ * @ordered
+ */
+ protected boolean createCheckings = CREATE_CHECKINGS_DEFAULT_;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public createAccountImpl()
+ {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Type getType()
+ {
+ return ((AccountFactoryImpl)AccountFactory.INSTANCE).getcreateAccount();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public CustomerProfileData getCustomerProfile()
+ {
+ return customerProfile;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public ChangeContext basicSetCustomerProfile(CustomerProfileData newCustomerProfile, ChangeContext changeContext)
+ {
+ CustomerProfileData oldCustomerProfile = customerProfile;
+ customerProfile = newCustomerProfile;
+ return changeContext;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setCustomerProfile(CustomerProfileData newCustomerProfile)
+ {
+ if (newCustomerProfile != customerProfile)
+ {
+ ChangeContext changeContext = null;
+ if (customerProfile != null)
+ changeContext = inverseRemove(customerProfile, this, OPPOSITE_FEATURE_BASE - CUSTOMER_PROFILE, null, changeContext);
+ if (newCustomerProfile != null)
+ changeContext = inverseAdd(newCustomerProfile, this, OPPOSITE_FEATURE_BASE - CUSTOMER_PROFILE, null, changeContext);
+ changeContext = basicSetCustomerProfile(newCustomerProfile, changeContext);
+ if (changeContext != null) dispatch(changeContext);
+ }
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean isCreateSavings()
+ {
+ return createSavings;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setCreateSavings(boolean newCreateSavings)
+ {
+ createSavings = newCreateSavings;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean isCreateCheckings()
+ {
+ return createCheckings;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setCreateCheckings(boolean newCreateCheckings)
+ {
+ createCheckings = newCreateCheckings;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public ChangeContext inverseRemove(Object otherEnd, int propertyIndex, ChangeContext changeContext)
+ {
+ switch (propertyIndex)
+ {
+ case CUSTOMER_PROFILE:
+ return basicSetCustomerProfile(null, changeContext);
+ }
+ return super.inverseRemove(otherEnd, propertyIndex, changeContext);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Object get(int propertyIndex, boolean resolve)
+ {
+ switch (propertyIndex)
+ {
+ case CUSTOMER_PROFILE:
+ return getCustomerProfile();
+ case CREATE_SAVINGS:
+ return isCreateSavings() ? Boolean.TRUE : Boolean.FALSE;
+ case CREATE_CHECKINGS:
+ return isCreateCheckings() ? Boolean.TRUE : Boolean.FALSE;
+ }
+ return super.get(propertyIndex, resolve);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void set(int propertyIndex, Object newValue)
+ {
+ switch (propertyIndex)
+ {
+ case CUSTOMER_PROFILE:
+ setCustomerProfile((CustomerProfileData)newValue);
+ return;
+ case CREATE_SAVINGS:
+ setCreateSavings(((Boolean)newValue).booleanValue());
+ return;
+ case CREATE_CHECKINGS:
+ setCreateCheckings(((Boolean)newValue).booleanValue());
+ return;
+ }
+ super.set(propertyIndex, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void unset(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case CUSTOMER_PROFILE:
+ setCustomerProfile((CustomerProfileData)null);
+ return;
+ case CREATE_SAVINGS:
+ setCreateSavings(CREATE_SAVINGS_DEFAULT_);
+ return;
+ case CREATE_CHECKINGS:
+ setCreateCheckings(CREATE_CHECKINGS_DEFAULT_);
+ return;
+ }
+ super.unset(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean isSet(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case CUSTOMER_PROFILE:
+ return customerProfile != null;
+ case CREATE_SAVINGS:
+ return createSavings != CREATE_SAVINGS_DEFAULT_;
+ case CREATE_CHECKINGS:
+ return createCheckings != CREATE_CHECKINGS_DEFAULT_;
+ }
+ return super.isSet(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public String toString()
+ {
+ if (isProxy(this)) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (createSavings: ");
+ result.append(createSavings);
+ result.append(", createCheckings: ");
+ result.append(createCheckings);
+ result.append(')');
+ return result.toString();
+ }
+
+} //createAccountImpl
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/createAccountImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/createAccountImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/createAccountResponseImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/createAccountResponseImpl.java?view=auto&rev=510143
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/createAccountResponseImpl.java (added)
+++ incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/createAccountResponseImpl.java Wed Feb 21 10:49:44 2007
@@ -0,0 +1,199 @@
+/**
+ *
+ *
+ *
+ * $Id$
+ */
+package com.bigbank.account.impl;
+
+import com.bigbank.account.AccountFactory;
+import com.bigbank.account.CustomerProfileData;
+import com.bigbank.account.createAccountResponse;
+
+import commonj.sdo.Type;
+
+import org.apache.tuscany.sdo.impl.DataObjectBase;
+
+/**
+ *
+ * An implementation of the model object 'create Account Response'.
+ *
+ *
+ * The following features are implemented:
+ *
+ * - {@link com.bigbank.account.impl.createAccountResponseImpl#getCustomerProfile Customer Profile}
+ *
+ *
+ *
+ * @generated
+ */
+public class createAccountResponseImpl extends DataObjectBase implements createAccountResponse
+{
+ /**
+ * The feature id for the 'Customer Profile' containment reference.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+ public final static int CUSTOMER_PROFILE = 0;
+
+ /**
+ * This represents the number of properties for this type.
+ *
+ *
+ * @generated
+ * @ordered
+ */
+
+ public final static int SDO_PROPERTY_COUNT = 1;
+
+ /**
+ * The cached value of the '{@link #getCustomerProfile() Customer Profile}' containment reference.
+ *
+ *
+ * @see #getCustomerProfile()
+ * @generated
+ * @ordered
+ */
+
+ protected CustomerProfileData customerProfile = null;
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public createAccountResponseImpl()
+ {
+ super();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Type getType()
+ {
+ return ((AccountFactoryImpl)AccountFactory.INSTANCE).getcreateAccountResponse();
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public CustomerProfileData getCustomerProfile()
+ {
+ return customerProfile;
+ }
+ /**
+ *
+ *
+ * @generated
+ */
+ public ChangeContext basicSetCustomerProfile(CustomerProfileData newCustomerProfile, ChangeContext changeContext)
+ {
+ CustomerProfileData oldCustomerProfile = customerProfile;
+ customerProfile = newCustomerProfile;
+ return changeContext;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void setCustomerProfile(CustomerProfileData newCustomerProfile)
+ {
+ if (newCustomerProfile != customerProfile)
+ {
+ ChangeContext changeContext = null;
+ if (customerProfile != null)
+ changeContext = inverseRemove(customerProfile, this, OPPOSITE_FEATURE_BASE - CUSTOMER_PROFILE, null, changeContext);
+ if (newCustomerProfile != null)
+ changeContext = inverseAdd(newCustomerProfile, this, OPPOSITE_FEATURE_BASE - CUSTOMER_PROFILE, null, changeContext);
+ changeContext = basicSetCustomerProfile(newCustomerProfile, changeContext);
+ if (changeContext != null) dispatch(changeContext);
+ }
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public ChangeContext inverseRemove(Object otherEnd, int propertyIndex, ChangeContext changeContext)
+ {
+ switch (propertyIndex)
+ {
+ case CUSTOMER_PROFILE:
+ return basicSetCustomerProfile(null, changeContext);
+ }
+ return super.inverseRemove(otherEnd, propertyIndex, changeContext);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public Object get(int propertyIndex, boolean resolve)
+ {
+ switch (propertyIndex)
+ {
+ case CUSTOMER_PROFILE:
+ return getCustomerProfile();
+ }
+ return super.get(propertyIndex, resolve);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void set(int propertyIndex, Object newValue)
+ {
+ switch (propertyIndex)
+ {
+ case CUSTOMER_PROFILE:
+ setCustomerProfile((CustomerProfileData)newValue);
+ return;
+ }
+ super.set(propertyIndex, newValue);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public void unset(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case CUSTOMER_PROFILE:
+ setCustomerProfile((CustomerProfileData)null);
+ return;
+ }
+ super.unset(propertyIndex);
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public boolean isSet(int propertyIndex)
+ {
+ switch (propertyIndex)
+ {
+ case CUSTOMER_PROFILE:
+ return customerProfile != null;
+ }
+ return super.isSet(propertyIndex);
+ }
+
+} //createAccountResponseImpl
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/createAccountResponseImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/tuscany/branches/sca-java-integration/testing/sca/itest/wsdl/src/main/java/com/bigbank/account/impl/createAccountResponseImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org