Commit 8c3459ef authored by Dominique Marcadet's avatar Dominique Marcadet

use standard EMF generated getters/setters for all attributes

parent 4faca627
...@@ -379,10 +379,9 @@ public abstract class AnyLNImpl extends UnNamingImpl implements AnyLN { ...@@ -379,10 +379,9 @@ public abstract class AnyLNImpl extends UnNamingImpl implements AnyLN {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getLnClass() { public String getLnClass() {
if( refersToLNodeType != null ) return refersToLNodeType.getLnClass();
return lnClass; return lnClass;
} }
...@@ -417,21 +416,18 @@ public abstract class AnyLNImpl extends UnNamingImpl implements AnyLN { ...@@ -417,21 +416,18 @@ public abstract class AnyLNImpl extends UnNamingImpl implements AnyLN {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetLnClass() { public boolean isSetLnClass() {
return isSetRefersToLNodeType(); return lnClassESet;
} }
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getLnType() { public String getLnType() {
if( refersToLNodeType != null )
return refersToLNodeType.getId();
else
return lnType; return lnType;
} }
...@@ -466,10 +462,10 @@ public abstract class AnyLNImpl extends UnNamingImpl implements AnyLN { ...@@ -466,10 +462,10 @@ public abstract class AnyLNImpl extends UnNamingImpl implements AnyLN {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetLnType() { public boolean isSetLnType() {
return isSetRefersToLNodeType(); return lnTypeESet;
} }
/** /**
......
...@@ -241,12 +241,9 @@ public class ConnectedAPImpl extends UnNamingImpl implements ConnectedAP { ...@@ -241,12 +241,9 @@ public class ConnectedAPImpl extends UnNamingImpl implements ConnectedAP {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getApName() { public String getApName() {
if( isSetRefersToAccessPoint() ) {
return getRefersToAccessPoint().getName();
}
return apName; return apName;
} }
...@@ -281,21 +278,18 @@ public class ConnectedAPImpl extends UnNamingImpl implements ConnectedAP { ...@@ -281,21 +278,18 @@ public class ConnectedAPImpl extends UnNamingImpl implements ConnectedAP {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetApName() { public boolean isSetApName() {
return isSetRefersToAccessPoint(); return apNameESet;
} }
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getIedName() { public String getIedName() {
if( isSetRefersToAccessPoint() ) {
return getRefersToAccessPoint().getIED().getName();
}
return iedName; return iedName;
} }
...@@ -330,10 +324,10 @@ public class ConnectedAPImpl extends UnNamingImpl implements ConnectedAP { ...@@ -330,10 +324,10 @@ public class ConnectedAPImpl extends UnNamingImpl implements ConnectedAP {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetIedName() { public boolean isSetIedName() {
return isSetRefersToAccessPoint(); return iedNameESet;
} }
/** /**
......
...@@ -194,12 +194,9 @@ public abstract class ControlBlockImpl extends UnNamingImpl implements ControlBl ...@@ -194,12 +194,9 @@ public abstract class ControlBlockImpl extends UnNamingImpl implements ControlBl
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getCbName() { public String getCbName() {
if( isSetRefersToControlWithIEDName() )
return getRefersToControlWithIEDName().getName();
else
return cbName; return cbName;
} }
...@@ -234,21 +231,18 @@ public abstract class ControlBlockImpl extends UnNamingImpl implements ControlBl ...@@ -234,21 +231,18 @@ public abstract class ControlBlockImpl extends UnNamingImpl implements ControlBl
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetCbName() { public boolean isSetCbName() {
return isSetRefersToControlWithIEDName(); return cbNameESet;
} }
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getLdInst() { public String getLdInst() {
if( isSetRefersToLDevice() )
return getRefersToLDevice().getInst();
else
return ldInst; return ldInst;
} }
...@@ -283,10 +277,10 @@ public abstract class ControlBlockImpl extends UnNamingImpl implements ControlBl ...@@ -283,10 +277,10 @@ public abstract class ControlBlockImpl extends UnNamingImpl implements ControlBl
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetLdInst() { public boolean isSetLdInst() {
return isSetRefersToLDevice(); return ldInstESet;
} }
/** /**
......
...@@ -148,12 +148,9 @@ public abstract class ControlImpl extends UnNamingImpl implements Control { ...@@ -148,12 +148,9 @@ public abstract class ControlImpl extends UnNamingImpl implements Control {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getDatSet() { public String getDatSet() {
if( isSetRefersToDataSet() )
return getRefersToDataSet().getName();
else
return datSet; return datSet;
} }
...@@ -188,10 +185,10 @@ public abstract class ControlImpl extends UnNamingImpl implements Control { ...@@ -188,10 +185,10 @@ public abstract class ControlImpl extends UnNamingImpl implements Control {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetDatSet() { public boolean isSetDatSet() {
return isSetRefersToDataSet(); return datSetESet;
} }
/** /**
......
...@@ -196,12 +196,9 @@ public class DOImpl extends DataObjectImpl implements DO { ...@@ -196,12 +196,9 @@ public class DOImpl extends DataObjectImpl implements DO {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getType() { public String getType() {
if( isSetRefersToDOType() )
return getRefersToDOType().getId();
else
return type; return type;
} }
...@@ -236,10 +233,10 @@ public class DOImpl extends DataObjectImpl implements DO { ...@@ -236,10 +233,10 @@ public class DOImpl extends DataObjectImpl implements DO {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetType() { public boolean isSetType() {
return isSetRefersToDOType(); return typeESet;
} }
/** /**
......
...@@ -384,13 +384,9 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA { ...@@ -384,13 +384,9 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getDaName() { public String getDaName() {
// TODO: wrong because it does not take into account structured names
if( isSetRefersToDataAttribute() )
return getRefersToDataAttribute().getName();
else
return daName; return daName;
} }
...@@ -425,22 +421,18 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA { ...@@ -425,22 +421,18 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetDaName() { public boolean isSetDaName() {
return isSetRefersToDataAttribute(); return daNameESet;
} }
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getDoName() { public String getDoName() {
// TODO: wrong because it does not take into account structured names
if( isSetRefersToDataObject() )
return getRefersToDataObject().getName();
else
return doName; return doName;
} }
...@@ -475,10 +467,10 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA { ...@@ -475,10 +467,10 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetDoName() { public boolean isSetDoName() {
return isSetRefersToDataObject(); return doNameESet;
} }
/** /**
...@@ -622,12 +614,9 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA { ...@@ -622,12 +614,9 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getLnClass() { public String getLnClass() {
if( isSetRefersToAnyLN() )
return getRefersToAnyLN().getLnClass();
else
return lnClass; return lnClass;
} }
...@@ -662,21 +651,18 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA { ...@@ -662,21 +651,18 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetLnClass() { public boolean isSetLnClass() {
return isSetRefersToAnyLN(); return lnClassESet;
} }
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getLnInst() { public String getLnInst() {
if( isSetRefersToAnyLN() )
return getRefersToAnyLN().getInst();
else
return lnInst; return lnInst;
} }
...@@ -711,10 +697,10 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA { ...@@ -711,10 +697,10 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetLnInst() { public boolean isSetLnInst() {
return isSetRefersToAnyLN(); return lnInstESet;
} }
/** /**
......
...@@ -151,12 +151,9 @@ public class KDCImpl extends ExplicitLinkResolverImpl implements KDC { ...@@ -151,12 +151,9 @@ public class KDCImpl extends ExplicitLinkResolverImpl implements KDC {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getApName() { public String getApName() {
if( isSetRefersToAccessPoint() ) {
return getRefersToAccessPoint().getName();
}
return apName; return apName;
} }
...@@ -191,21 +188,18 @@ public class KDCImpl extends ExplicitLinkResolverImpl implements KDC { ...@@ -191,21 +188,18 @@ public class KDCImpl extends ExplicitLinkResolverImpl implements KDC {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetApName() { public boolean isSetApName() {
return isSetRefersToAccessPoint(); return apNameESet;
} }
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getIedName() { public String getIedName() {
if( isSetRefersToAccessPoint() ) {
return getRefersToAccessPoint().getIED().getName();
}
return iedName; return iedName;
} }
...@@ -240,10 +234,10 @@ public class KDCImpl extends ExplicitLinkResolverImpl implements KDC { ...@@ -240,10 +234,10 @@ public class KDCImpl extends ExplicitLinkResolverImpl implements KDC {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetIedName() { public boolean isSetIedName() {
return isSetRefersToAccessPoint(); return iedNameESet;
} }
/** /**
......
...@@ -312,12 +312,9 @@ public class LNodeImpl extends UnNamingImpl implements LNode { ...@@ -312,12 +312,9 @@ public class LNodeImpl extends UnNamingImpl implements LNode {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getIedName() { public String getIedName() {
if( ied != null ) {
return ied.getName();
}
return iedName; return iedName;
} }
...@@ -352,21 +349,18 @@ public class LNodeImpl extends UnNamingImpl implements LNode { ...@@ -352,21 +349,18 @@ public class LNodeImpl extends UnNamingImpl implements LNode {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetIedName() { public boolean isSetIedName() {
return isSetIED(); return iedNameESet;
} }
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getLdInst() { public String getLdInst() {
if( lDevice != null ) {
return lDevice.getInst();
}
return ldInst; return ldInst;
} }
...@@ -401,21 +395,18 @@ public class LNodeImpl extends UnNamingImpl implements LNode { ...@@ -401,21 +395,18 @@ public class LNodeImpl extends UnNamingImpl implements LNode {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetLdInst() { public boolean isSetLdInst() {
return isSetLDevice(); return ldInstESet;
} }
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public String getLnClass() { public String getLnClass() {
if( ln != null ) {
return ln.getLnClass();
}
return lnClass; return lnClass;
} }
...@@ -450,10 +441,10 @@ public class LNodeImpl extends UnNamingImpl implements LNode { ...@@ -450,10 +441,10 @@ public class LNodeImpl extends UnNamingImpl implements LNode {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated
*/ */
public boolean isSetLnClass() { public boolean isSetLnClass() {
return isSetLN(); return lnClassESet;
} }
/** /**
...@@ -496,10 +487,10 @@ public class LNodeImpl extends UnNamingImpl implements LNode { ...@@ -496,10 +487,10 @@ public class LNodeImpl extends UnNamingImpl implements LNode {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated not * @generated
*/ */
public boolean isSetLnInst() { public boolean isSetLnInst() {
return isSetLN(); return lnInstESet;
} }
/** /**
......
...@@ -226,12 +226,9 @@ public class SDOImpl extends UnNamingImpl implements SDO { ...@@ -226,12 +226,9 @@ public class SDOImpl extends UnNamingImpl implements SDO {
/** /**
* <!-- begin-user-doc --> * <!-- begin-user-doc -->
* <!-- end-user-doc --> * <!-- end-user-doc -->
* @generated NOT * @generated <