| 1 |
/** |
| 2 |
* Copyright (c) 2007 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v2.0 |
| 5 |
* which accompanies this distribution, and is available at |
| 6 |
* http://www.eclipse.org/legal/epl-v20.html |
| 7 |
* |
| 8 |
* Contributors: |
| 9 |
* IBM - Initial API and implementation |
| 10 |
*/ |
| 11 |
package org.eclipse.emf.test.models.customer; |
| 12 |
|
| 13 |
import java.math.BigInteger; |
| 14 |
|
| 15 |
import javax.xml.datatype.XMLGregorianCalendar; |
| 16 |
|
| 17 |
import org.eclipse.emf.ecore.EObject; |
| 18 |
|
| 19 |
/** |
| 20 |
* <!-- begin-user-doc --> |
| 21 |
* A representation of the model object '<em><b>Credit Info</b></em>'. |
| 22 |
* <!-- end-user-doc --> |
| 23 |
* |
| 24 |
* <p> |
| 25 |
* The following features are supported: |
| 26 |
* </p> |
| 27 |
* <ul> |
| 28 |
* <li>{@link org.eclipse.emf.test.models.customer.CreditInfo#getHolder <em>Holder</em>}</li> |
| 29 |
* <li>{@link org.eclipse.emf.test.models.customer.CreditInfo#getCcNumber <em>Cc Number</em>}</li> |
| 30 |
* <li>{@link org.eclipse.emf.test.models.customer.CreditInfo#getExpireDate <em>Expire Date</em>}</li> |
| 31 |
* </ul> |
| 32 |
* |
| 33 |
* @see org.eclipse.emf.test.models.customer.CustomerPackage#getCreditInfo() |
| 34 |
* @model extendedMetaData="name='creditInfo' kind='elementOnly'" |
| 35 |
* @generated |
| 36 |
*/ |
| 37 |
public interface CreditInfo extends EObject |
| 38 |
{ |
| 39 |
/** |
| 40 |
* Returns the value of the '<em><b>Holder</b></em>' attribute. |
| 41 |
* <!-- begin-user-doc --> |
| 42 |
* <p> |
| 43 |
* If the meaning of the '<em>Holder</em>' attribute isn't clear, |
| 44 |
* there really should be more of a description here... |
| 45 |
* </p> |
| 46 |
* <!-- end-user-doc --> |
| 47 |
* @return the value of the '<em>Holder</em>' attribute. |
| 48 |
* @see #setHolder(String) |
| 49 |
* @see org.eclipse.emf.test.models.customer.CustomerPackage#getCreditInfo_Holder() |
| 50 |
* @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true" |
| 51 |
* extendedMetaData="kind='element' name='holder'" |
| 52 |
* @generated |
| 53 |
*/ |
| 54 |
String getHolder(); |
| 55 |
|
| 56 |
/** |
| 57 |
* Sets the value of the '{@link org.eclipse.emf.test.models.customer.CreditInfo#getHolder <em>Holder</em>}' attribute. |
| 58 |
* <!-- begin-user-doc --> |
| 59 |
* <!-- end-user-doc --> |
| 60 |
* @param value the new value of the '<em>Holder</em>' attribute. |
| 61 |
* @see #getHolder() |
| 62 |
* @generated |
| 63 |
*/ |
| 64 |
void setHolder(String value); |
| 65 |
|
| 66 |
/** |
| 67 |
* Returns the value of the '<em><b>Cc Number</b></em>' attribute. |
| 68 |
* <!-- begin-user-doc --> |
| 69 |
* <p> |
| 70 |
* If the meaning of the '<em>Cc Number</em>' attribute isn't clear, |
| 71 |
* there really should be more of a description here... |
| 72 |
* </p> |
| 73 |
* <!-- end-user-doc --> |
| 74 |
* @return the value of the '<em>Cc Number</em>' attribute. |
| 75 |
* @see #setCcNumber(BigInteger) |
| 76 |
* @see org.eclipse.emf.test.models.customer.CustomerPackage#getCreditInfo_CcNumber() |
| 77 |
* @model dataType="org.eclipse.emf.ecore.xml.type.Integer" required="true" |
| 78 |
* extendedMetaData="kind='element' name='cc_number'" |
| 79 |
* @generated |
| 80 |
*/ |
| 81 |
BigInteger getCcNumber(); |
| 82 |
|
| 83 |
/** |
| 84 |
* Sets the value of the '{@link org.eclipse.emf.test.models.customer.CreditInfo#getCcNumber <em>Cc Number</em>}' attribute. |
| 85 |
* <!-- begin-user-doc --> |
| 86 |
* <!-- end-user-doc --> |
| 87 |
* @param value the new value of the '<em>Cc Number</em>' attribute. |
| 88 |
* @see #getCcNumber() |
| 89 |
* @generated |
| 90 |
*/ |
| 91 |
void setCcNumber(BigInteger value); |
| 92 |
|
| 93 |
/** |
| 94 |
* Returns the value of the '<em><b>Expire Date</b></em>' attribute. |
| 95 |
* <!-- begin-user-doc --> |
| 96 |
* <p> |
| 97 |
* If the meaning of the '<em>Expire Date</em>' attribute isn't clear, |
| 98 |
* there really should be more of a description here... |
| 99 |
* </p> |
| 100 |
* <!-- end-user-doc --> |
| 101 |
* @return the value of the '<em>Expire Date</em>' attribute. |
| 102 |
* @see #setExpireDate(XMLGregorianCalendar) |
| 103 |
* @see org.eclipse.emf.test.models.customer.CustomerPackage#getCreditInfo_ExpireDate() |
| 104 |
* @model dataType="org.eclipse.emf.ecore.xml.type.GYearMonth" required="true" |
| 105 |
* extendedMetaData="kind='element' name='expireDate'" |
| 106 |
* @generated |
| 107 |
*/ |
| 108 |
XMLGregorianCalendar getExpireDate(); |
| 109 |
|
| 110 |
/** |
| 111 |
* Sets the value of the '{@link org.eclipse.emf.test.models.customer.CreditInfo#getExpireDate <em>Expire Date</em>}' attribute. |
| 112 |
* <!-- begin-user-doc --> |
| 113 |
* <!-- end-user-doc --> |
| 114 |
* @param value the new value of the '<em>Expire Date</em>' attribute. |
| 115 |
* @see #getExpireDate() |
| 116 |
* @generated |
| 117 |
*/ |
| 118 |
void setExpireDate(XMLGregorianCalendar value); |
| 119 |
|
| 120 |
} // CreditInfo |