org.afplib.afplib.impl.OBPImpl Maven / Gradle / Ivy
/**
*/
package org.afplib.afplib.impl;
import org.afplib.afplib.AfplibPackage;
import org.afplib.afplib.OBP;
import org.afplib.base.impl.SFImpl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
/**
*
* An implementation of the model object 'OBP'.
*
*
* The following features are implemented:
*
* - {@link org.afplib.afplib.impl.OBPImpl#getOAPosID OA Pos ID}
* - {@link org.afplib.afplib.impl.OBPImpl#getRGLength RG Length}
* - {@link org.afplib.afplib.impl.OBPImpl#getXoaOset Xoa Oset}
* - {@link org.afplib.afplib.impl.OBPImpl#getYoaOset Yoa Oset}
* - {@link org.afplib.afplib.impl.OBPImpl#getXoaOrent Xoa Orent}
* - {@link org.afplib.afplib.impl.OBPImpl#getYoaOrent Yoa Orent}
* - {@link org.afplib.afplib.impl.OBPImpl#getXocaOset Xoca Oset}
* - {@link org.afplib.afplib.impl.OBPImpl#getYocaOset Yoca Oset}
* - {@link org.afplib.afplib.impl.OBPImpl#getXocaOrent Xoca Orent}
* - {@link org.afplib.afplib.impl.OBPImpl#getYocaOrent Yoca Orent}
* - {@link org.afplib.afplib.impl.OBPImpl#getRefCSys Ref CSys}
*
*
*
* @generated
*/
public class OBPImpl extends SFImpl implements OBP {
/**
* The default value of the '{@link #getOAPosID() OA Pos ID}' attribute.
*
*
* @see #getOAPosID()
* @generated
* @ordered
*/
protected static final Integer OA_POS_ID_EDEFAULT = null;
/**
* The cached value of the '{@link #getOAPosID() OA Pos ID}' attribute.
*
*
* @see #getOAPosID()
* @generated
* @ordered
*/
protected Integer oaPosID = OA_POS_ID_EDEFAULT;
/**
* The default value of the '{@link #getRGLength() RG Length}' attribute.
*
*
* @see #getRGLength()
* @generated
* @ordered
*/
protected static final Integer RG_LENGTH_EDEFAULT = null;
/**
* The cached value of the '{@link #getRGLength() RG Length}' attribute.
*
*
* @see #getRGLength()
* @generated
* @ordered
*/
protected Integer rgLength = RG_LENGTH_EDEFAULT;
/**
* The default value of the '{@link #getXoaOset() Xoa Oset}' attribute.
*
*
* @see #getXoaOset()
* @generated
* @ordered
*/
protected static final Integer XOA_OSET_EDEFAULT = null;
/**
* The cached value of the '{@link #getXoaOset() Xoa Oset}' attribute.
*
*
* @see #getXoaOset()
* @generated
* @ordered
*/
protected Integer xoaOset = XOA_OSET_EDEFAULT;
/**
* The default value of the '{@link #getYoaOset() Yoa Oset}' attribute.
*
*
* @see #getYoaOset()
* @generated
* @ordered
*/
protected static final Integer YOA_OSET_EDEFAULT = null;
/**
* The cached value of the '{@link #getYoaOset() Yoa Oset}' attribute.
*
*
* @see #getYoaOset()
* @generated
* @ordered
*/
protected Integer yoaOset = YOA_OSET_EDEFAULT;
/**
* The default value of the '{@link #getXoaOrent() Xoa Orent}' attribute.
*
*
* @see #getXoaOrent()
* @generated
* @ordered
*/
protected static final Integer XOA_ORENT_EDEFAULT = null;
/**
* The cached value of the '{@link #getXoaOrent() Xoa Orent}' attribute.
*
*
* @see #getXoaOrent()
* @generated
* @ordered
*/
protected Integer xoaOrent = XOA_ORENT_EDEFAULT;
/**
* The default value of the '{@link #getYoaOrent() Yoa Orent}' attribute.
*
*
* @see #getYoaOrent()
* @generated
* @ordered
*/
protected static final Integer YOA_ORENT_EDEFAULT = null;
/**
* The cached value of the '{@link #getYoaOrent() Yoa Orent}' attribute.
*
*
* @see #getYoaOrent()
* @generated
* @ordered
*/
protected Integer yoaOrent = YOA_ORENT_EDEFAULT;
/**
* The default value of the '{@link #getXocaOset() Xoca Oset}' attribute.
*
*
* @see #getXocaOset()
* @generated
* @ordered
*/
protected static final Integer XOCA_OSET_EDEFAULT = null;
/**
* The cached value of the '{@link #getXocaOset() Xoca Oset}' attribute.
*
*
* @see #getXocaOset()
* @generated
* @ordered
*/
protected Integer xocaOset = XOCA_OSET_EDEFAULT;
/**
* The default value of the '{@link #getYocaOset() Yoca Oset}' attribute.
*
*
* @see #getYocaOset()
* @generated
* @ordered
*/
protected static final Integer YOCA_OSET_EDEFAULT = null;
/**
* The cached value of the '{@link #getYocaOset() Yoca Oset}' attribute.
*
*
* @see #getYocaOset()
* @generated
* @ordered
*/
protected Integer yocaOset = YOCA_OSET_EDEFAULT;
/**
* The default value of the '{@link #getXocaOrent() Xoca Orent}' attribute.
*
*
* @see #getXocaOrent()
* @generated
* @ordered
*/
protected static final Integer XOCA_ORENT_EDEFAULT = null;
/**
* The cached value of the '{@link #getXocaOrent() Xoca Orent}' attribute.
*
*
* @see #getXocaOrent()
* @generated
* @ordered
*/
protected Integer xocaOrent = XOCA_ORENT_EDEFAULT;
/**
* The default value of the '{@link #getYocaOrent() Yoca Orent}' attribute.
*
*
* @see #getYocaOrent()
* @generated
* @ordered
*/
protected static final Integer YOCA_ORENT_EDEFAULT = null;
/**
* The cached value of the '{@link #getYocaOrent() Yoca Orent}' attribute.
*
*
* @see #getYocaOrent()
* @generated
* @ordered
*/
protected Integer yocaOrent = YOCA_ORENT_EDEFAULT;
/**
* The default value of the '{@link #getRefCSys() Ref CSys}' attribute.
*
*
* @see #getRefCSys()
* @generated
* @ordered
*/
protected static final Integer REF_CSYS_EDEFAULT = null;
/**
* The cached value of the '{@link #getRefCSys() Ref CSys}' attribute.
*
*
* @see #getRefCSys()
* @generated
* @ordered
*/
protected Integer refCSys = REF_CSYS_EDEFAULT;
/**
*
*
* @generated
*/
protected OBPImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return AfplibPackage.eINSTANCE.getOBP();
}
/**
*
*
* @generated
*/
public Integer getOAPosID() {
return oaPosID;
}
/**
*
*
* @generated
*/
public void setOAPosID(Integer newOAPosID) {
Integer oldOAPosID = oaPosID;
oaPosID = newOAPosID;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, AfplibPackage.OBP__OA_POS_ID, oldOAPosID, oaPosID));
}
/**
*
*
* @generated
*/
public Integer getRGLength() {
return rgLength;
}
/**
*
*
* @generated
*/
public void setRGLength(Integer newRGLength) {
Integer oldRGLength = rgLength;
rgLength = newRGLength;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, AfplibPackage.OBP__RG_LENGTH, oldRGLength, rgLength));
}
/**
*
*
* @generated
*/
public Integer getXoaOset() {
return xoaOset;
}
/**
*
*
* @generated
*/
public void setXoaOset(Integer newXoaOset) {
Integer oldXoaOset = xoaOset;
xoaOset = newXoaOset;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, AfplibPackage.OBP__XOA_OSET, oldXoaOset, xoaOset));
}
/**
*
*
* @generated
*/
public Integer getYoaOset() {
return yoaOset;
}
/**
*
*
* @generated
*/
public void setYoaOset(Integer newYoaOset) {
Integer oldYoaOset = yoaOset;
yoaOset = newYoaOset;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, AfplibPackage.OBP__YOA_OSET, oldYoaOset, yoaOset));
}
/**
*
*
* @generated
*/
public Integer getXoaOrent() {
return xoaOrent;
}
/**
*
*
* @generated
*/
public void setXoaOrent(Integer newXoaOrent) {
Integer oldXoaOrent = xoaOrent;
xoaOrent = newXoaOrent;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, AfplibPackage.OBP__XOA_ORENT, oldXoaOrent, xoaOrent));
}
/**
*
*
* @generated
*/
public Integer getYoaOrent() {
return yoaOrent;
}
/**
*
*
* @generated
*/
public void setYoaOrent(Integer newYoaOrent) {
Integer oldYoaOrent = yoaOrent;
yoaOrent = newYoaOrent;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, AfplibPackage.OBP__YOA_ORENT, oldYoaOrent, yoaOrent));
}
/**
*
*
* @generated
*/
public Integer getXocaOset() {
return xocaOset;
}
/**
*
*
* @generated
*/
public void setXocaOset(Integer newXocaOset) {
Integer oldXocaOset = xocaOset;
xocaOset = newXocaOset;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, AfplibPackage.OBP__XOCA_OSET, oldXocaOset, xocaOset));
}
/**
*
*
* @generated
*/
public Integer getYocaOset() {
return yocaOset;
}
/**
*
*
* @generated
*/
public void setYocaOset(Integer newYocaOset) {
Integer oldYocaOset = yocaOset;
yocaOset = newYocaOset;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, AfplibPackage.OBP__YOCA_OSET, oldYocaOset, yocaOset));
}
/**
*
*
* @generated
*/
public Integer getXocaOrent() {
return xocaOrent;
}
/**
*
*
* @generated
*/
public void setXocaOrent(Integer newXocaOrent) {
Integer oldXocaOrent = xocaOrent;
xocaOrent = newXocaOrent;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, AfplibPackage.OBP__XOCA_ORENT, oldXocaOrent, xocaOrent));
}
/**
*
*
* @generated
*/
public Integer getYocaOrent() {
return yocaOrent;
}
/**
*
*
* @generated
*/
public void setYocaOrent(Integer newYocaOrent) {
Integer oldYocaOrent = yocaOrent;
yocaOrent = newYocaOrent;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, AfplibPackage.OBP__YOCA_ORENT, oldYocaOrent, yocaOrent));
}
/**
*
*
* @generated
*/
public Integer getRefCSys() {
return refCSys;
}
/**
*
*
* @generated
*/
public void setRefCSys(Integer newRefCSys) {
Integer oldRefCSys = refCSys;
refCSys = newRefCSys;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, AfplibPackage.OBP__REF_CSYS, oldRefCSys, refCSys));
}
/**
*
*
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case AfplibPackage.OBP__OA_POS_ID:
return getOAPosID();
case AfplibPackage.OBP__RG_LENGTH:
return getRGLength();
case AfplibPackage.OBP__XOA_OSET:
return getXoaOset();
case AfplibPackage.OBP__YOA_OSET:
return getYoaOset();
case AfplibPackage.OBP__XOA_ORENT:
return getXoaOrent();
case AfplibPackage.OBP__YOA_ORENT:
return getYoaOrent();
case AfplibPackage.OBP__XOCA_OSET:
return getXocaOset();
case AfplibPackage.OBP__YOCA_OSET:
return getYocaOset();
case AfplibPackage.OBP__XOCA_ORENT:
return getXocaOrent();
case AfplibPackage.OBP__YOCA_ORENT:
return getYocaOrent();
case AfplibPackage.OBP__REF_CSYS:
return getRefCSys();
}
return super.eGet(featureID, resolve, coreType);
}
/**
*
*
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case AfplibPackage.OBP__OA_POS_ID:
setOAPosID((Integer)newValue);
return;
case AfplibPackage.OBP__RG_LENGTH:
setRGLength((Integer)newValue);
return;
case AfplibPackage.OBP__XOA_OSET:
setXoaOset((Integer)newValue);
return;
case AfplibPackage.OBP__YOA_OSET:
setYoaOset((Integer)newValue);
return;
case AfplibPackage.OBP__XOA_ORENT:
setXoaOrent((Integer)newValue);
return;
case AfplibPackage.OBP__YOA_ORENT:
setYoaOrent((Integer)newValue);
return;
case AfplibPackage.OBP__XOCA_OSET:
setXocaOset((Integer)newValue);
return;
case AfplibPackage.OBP__YOCA_OSET:
setYocaOset((Integer)newValue);
return;
case AfplibPackage.OBP__XOCA_ORENT:
setXocaOrent((Integer)newValue);
return;
case AfplibPackage.OBP__YOCA_ORENT:
setYocaOrent((Integer)newValue);
return;
case AfplibPackage.OBP__REF_CSYS:
setRefCSys((Integer)newValue);
return;
}
super.eSet(featureID, newValue);
}
/**
*
*
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case AfplibPackage.OBP__OA_POS_ID:
setOAPosID(OA_POS_ID_EDEFAULT);
return;
case AfplibPackage.OBP__RG_LENGTH:
setRGLength(RG_LENGTH_EDEFAULT);
return;
case AfplibPackage.OBP__XOA_OSET:
setXoaOset(XOA_OSET_EDEFAULT);
return;
case AfplibPackage.OBP__YOA_OSET:
setYoaOset(YOA_OSET_EDEFAULT);
return;
case AfplibPackage.OBP__XOA_ORENT:
setXoaOrent(XOA_ORENT_EDEFAULT);
return;
case AfplibPackage.OBP__YOA_ORENT:
setYoaOrent(YOA_ORENT_EDEFAULT);
return;
case AfplibPackage.OBP__XOCA_OSET:
setXocaOset(XOCA_OSET_EDEFAULT);
return;
case AfplibPackage.OBP__YOCA_OSET:
setYocaOset(YOCA_OSET_EDEFAULT);
return;
case AfplibPackage.OBP__XOCA_ORENT:
setXocaOrent(XOCA_ORENT_EDEFAULT);
return;
case AfplibPackage.OBP__YOCA_ORENT:
setYocaOrent(YOCA_ORENT_EDEFAULT);
return;
case AfplibPackage.OBP__REF_CSYS:
setRefCSys(REF_CSYS_EDEFAULT);
return;
}
super.eUnset(featureID);
}
/**
*
*
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
case AfplibPackage.OBP__OA_POS_ID:
return OA_POS_ID_EDEFAULT == null ? oaPosID != null : !OA_POS_ID_EDEFAULT.equals(oaPosID);
case AfplibPackage.OBP__RG_LENGTH:
return RG_LENGTH_EDEFAULT == null ? rgLength != null : !RG_LENGTH_EDEFAULT.equals(rgLength);
case AfplibPackage.OBP__XOA_OSET:
return XOA_OSET_EDEFAULT == null ? xoaOset != null : !XOA_OSET_EDEFAULT.equals(xoaOset);
case AfplibPackage.OBP__YOA_OSET:
return YOA_OSET_EDEFAULT == null ? yoaOset != null : !YOA_OSET_EDEFAULT.equals(yoaOset);
case AfplibPackage.OBP__XOA_ORENT:
return XOA_ORENT_EDEFAULT == null ? xoaOrent != null : !XOA_ORENT_EDEFAULT.equals(xoaOrent);
case AfplibPackage.OBP__YOA_ORENT:
return YOA_ORENT_EDEFAULT == null ? yoaOrent != null : !YOA_ORENT_EDEFAULT.equals(yoaOrent);
case AfplibPackage.OBP__XOCA_OSET:
return XOCA_OSET_EDEFAULT == null ? xocaOset != null : !XOCA_OSET_EDEFAULT.equals(xocaOset);
case AfplibPackage.OBP__YOCA_OSET:
return YOCA_OSET_EDEFAULT == null ? yocaOset != null : !YOCA_OSET_EDEFAULT.equals(yocaOset);
case AfplibPackage.OBP__XOCA_ORENT:
return XOCA_ORENT_EDEFAULT == null ? xocaOrent != null : !XOCA_ORENT_EDEFAULT.equals(xocaOrent);
case AfplibPackage.OBP__YOCA_ORENT:
return YOCA_ORENT_EDEFAULT == null ? yocaOrent != null : !YOCA_ORENT_EDEFAULT.equals(yocaOrent);
case AfplibPackage.OBP__REF_CSYS:
return REF_CSYS_EDEFAULT == null ? refCSys != null : !REF_CSYS_EDEFAULT.equals(refCSys);
}
return super.eIsSet(featureID);
}
/**
*
*
* @generated
*/
@Override
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (OAPosID: ");
result.append(oaPosID);
result.append(", RGLength: ");
result.append(rgLength);
result.append(", XoaOset: ");
result.append(xoaOset);
result.append(", YoaOset: ");
result.append(yoaOset);
result.append(", XoaOrent: ");
result.append(xoaOrent);
result.append(", YoaOrent: ");
result.append(yoaOrent);
result.append(", XocaOset: ");
result.append(xocaOset);
result.append(", YocaOset: ");
result.append(yocaOset);
result.append(", XocaOrent: ");
result.append(xocaOrent);
result.append(", YocaOrent: ");
result.append(yocaOrent);
result.append(", RefCSys: ");
result.append(refCSys);
result.append(')');
return result.toString();
}
} //OBPImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy