org.eclipse.emf.test.models.customer.impl
Class CustomerTypeImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.test.models.customer.impl.CustomerTypeImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, CustomerType

public class CustomerTypeImpl
extends EObjectImpl
implements CustomerType

An implementation of the model object 'Type'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  AddressType address
          The cached value of the 'Address' containment reference
protected  CreditInfo creditCard
          The cached value of the 'Credit Card' containment reference
protected  java.lang.String iD
          The cached value of the 'ID' attribute
protected static java.lang.String ID_EDEFAULT
          The default value of the 'ID' attribute
protected  java.lang.String name
          The cached value of the 'Name' attribute
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute
protected static javax.xml.datatype.XMLGregorianCalendar PAYMENT_DAY_EDEFAULT
          The default value of the 'Payment Day' attribute
protected  javax.xml.datatype.XMLGregorianCalendar paymentDay
          The cached value of the 'Payment Day' attribute
protected  boolean paymentDayESet
          This is true if the Payment Day attribute has been set
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected CustomerTypeImpl()
           
 
Method Summary
 NotificationChain basicSetAddress(AddressType newAddress, NotificationChain msgs)
           
 NotificationChain basicSetCreditCard(CreditInfo newCreditCard, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 AddressType getAddress()
           
 CreditInfo getCreditCard()
           
 java.lang.String getID()
           
 java.lang.String getName()
           
 javax.xml.datatype.XMLGregorianCalendar getPaymentDay()
           
 boolean isSetPaymentDay()
           
 void setAddress(AddressType newAddress)
           
 void setCreditCard(CreditInfo newCreditCard)
           
 void setID(java.lang.String newID)
           
 void setName(java.lang.String newName)
           
 void setPaymentDay(javax.xml.datatype.XMLGregorianCalendar newPaymentDay)
           
 java.lang.String toString()
           
 void unsetPaymentDay()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()

address

protected AddressType address
The cached value of the 'Address' containment reference.

See Also:
getAddress()

creditCard

protected CreditInfo creditCard
The cached value of the 'Credit Card' containment reference.

See Also:
getCreditCard()

PAYMENT_DAY_EDEFAULT

protected static final javax.xml.datatype.XMLGregorianCalendar PAYMENT_DAY_EDEFAULT
The default value of the 'Payment Day' attribute.

See Also:
getPaymentDay()

paymentDay

protected javax.xml.datatype.XMLGregorianCalendar paymentDay
The cached value of the 'Payment Day' attribute.

See Also:
getPaymentDay()

paymentDayESet

protected boolean paymentDayESet
This is true if the Payment Day attribute has been set.


ID_EDEFAULT

protected static final java.lang.String ID_EDEFAULT
The default value of the 'ID' attribute.

See Also:
getID()

iD

protected java.lang.String iD
The cached value of the 'ID' attribute.

See Also:
getID()
Constructor Detail

CustomerTypeImpl

protected CustomerTypeImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl

getName

public java.lang.String getName()

Specified by:
getName in interface CustomerType
Returns:
the value of the 'Name' attribute.
See Also:
CustomerType.setName(String), CustomerPackage.getCustomerType_Name()

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface CustomerType
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
CustomerType.getName()

getAddress

public AddressType getAddress()

Specified by:
getAddress in interface CustomerType
Returns:
the value of the 'Address' containment reference.
See Also:
CustomerType.setAddress(AddressType), CustomerPackage.getCustomerType_Address()

basicSetAddress

public NotificationChain basicSetAddress(AddressType newAddress,
                                         NotificationChain msgs)


setAddress

public void setAddress(AddressType newAddress)

Specified by:
setAddress in interface CustomerType
Parameters:
newAddress - the new value of the 'Address' containment reference.
See Also:
CustomerType.getAddress()

getCreditCard

public CreditInfo getCreditCard()

Specified by:
getCreditCard in interface CustomerType
Returns:
the value of the 'Credit Card' containment reference.
See Also:
CustomerType.setCreditCard(CreditInfo), CustomerPackage.getCustomerType_CreditCard()

basicSetCreditCard

public NotificationChain basicSetCreditCard(CreditInfo newCreditCard,
                                            NotificationChain msgs)


setCreditCard

public void setCreditCard(CreditInfo newCreditCard)

Specified by:
setCreditCard in interface CustomerType
Parameters:
newCreditCard - the new value of the 'Credit Card' containment reference.
See Also:
CustomerType.getCreditCard()

getPaymentDay

public javax.xml.datatype.XMLGregorianCalendar getPaymentDay()

Specified by:
getPaymentDay in interface CustomerType
Returns:
the value of the 'Payment Day' attribute.
See Also:
CustomerType.isSetPaymentDay(), CustomerType.unsetPaymentDay(), CustomerType.setPaymentDay(XMLGregorianCalendar), CustomerPackage.getCustomerType_PaymentDay()

setPaymentDay

public void setPaymentDay(javax.xml.datatype.XMLGregorianCalendar newPaymentDay)

Specified by:
setPaymentDay in interface CustomerType
Parameters:
newPaymentDay - the new value of the 'Payment Day' attribute.
See Also:
CustomerType.isSetPaymentDay(), CustomerType.unsetPaymentDay(), CustomerType.getPaymentDay()

unsetPaymentDay

public void unsetPaymentDay()

Specified by:
unsetPaymentDay in interface CustomerType
See Also:
CustomerType.isSetPaymentDay(), CustomerType.getPaymentDay(), CustomerType.setPaymentDay(XMLGregorianCalendar)

isSetPaymentDay

public boolean isSetPaymentDay()

Specified by:
isSetPaymentDay in interface CustomerType
Returns:
whether the value of the 'Payment Day' attribute is set.
See Also:
CustomerType.unsetPaymentDay(), CustomerType.getPaymentDay(), CustomerType.setPaymentDay(XMLGregorianCalendar)

getID

public java.lang.String getID()

Specified by:
getID in interface CustomerType
Returns:
the value of the 'ID' attribute.
See Also:
CustomerType.setID(String), CustomerPackage.getCustomerType_ID()

setID

public void setID(java.lang.String newID)

Specified by:
setID in interface CustomerType
Parameters:
newID - the new value of the 'ID' attribute.
See Also:
CustomerType.getID()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class BasicEObjectImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl
See Also:
InternalEObject.eGet(EStructuralFeature, boolean, boolean)

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class BasicEObjectImpl
See Also:
EObject.eSet(EStructuralFeature, Object)

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class BasicEObjectImpl
See Also:
EObject.eUnset(EStructuralFeature)

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class BasicEObjectImpl
See Also:
EObject.eIsSet(EStructuralFeature)

toString

public java.lang.String toString()

Overrides:
toString in class BasicEObjectImpl

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.