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,22 +416,19 @@ public abstract class AnyLNImpl extends UnNamingImpl implements AnyLN { ...@@ -417,22 +416,19 @@ 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 lnType;
return refersToLNodeType.getId();
else
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;
} }
...@@ -328,12 +322,12 @@ public class ConnectedAPImpl extends UnNamingImpl implements ConnectedAP { ...@@ -328,12 +322,12 @@ 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,13 +194,10 @@ public abstract class ControlBlockImpl extends UnNamingImpl implements ControlBl ...@@ -194,13 +194,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 String getCbName() { public String getCbName() {
if( isSetRefersToControlWithIEDName() ) return cbName;
return getRefersToControlWithIEDName().getName();
else
return cbName;
} }
/** /**
...@@ -234,22 +231,19 @@ public abstract class ControlBlockImpl extends UnNamingImpl implements ControlBl ...@@ -234,22 +231,19 @@ 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 ldInst;
return getRefersToLDevice().getInst();
else
return ldInst;
} }
/** /**
...@@ -281,12 +275,12 @@ public abstract class ControlBlockImpl extends UnNamingImpl implements ControlBl ...@@ -281,12 +275,12 @@ 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,13 +148,10 @@ public abstract class ControlImpl extends UnNamingImpl implements Control { ...@@ -148,13 +148,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 String getDatSet() { public String getDatSet() {
if( isSetRefersToDataSet() ) return datSet;
return getRefersToDataSet().getName();
else
return datSet;
} }
/** /**
...@@ -186,12 +183,12 @@ public abstract class ControlImpl extends UnNamingImpl implements Control { ...@@ -186,12 +183,12 @@ 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,13 +196,10 @@ public class DOImpl extends DataObjectImpl implements DO { ...@@ -196,13 +196,10 @@ 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 type;
return getRefersToDOType().getId();
else
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,14 +384,10 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA { ...@@ -384,14 +384,10 @@ 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 return daName;
if( isSetRefersToDataAttribute() )
return getRefersToDataAttribute().getName();
else
return daName;
} }
/** /**
...@@ -423,25 +419,21 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA { ...@@ -423,25 +419,21 @@ 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 return doName;
if( isSetRefersToDataObject() )
return getRefersToDataObject().getName();
else
return doName;
} }
/** /**
...@@ -473,12 +465,12 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA { ...@@ -473,12 +465,12 @@ 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,13 +614,10 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA { ...@@ -622,13 +614,10 @@ 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 lnClass;
return getRefersToAnyLN().getLnClass();
else
return lnClass;
} }
/** /**
...@@ -660,24 +649,21 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA { ...@@ -660,24 +649,21 @@ 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 lnInst;
return getRefersToAnyLN().getInst();
else
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;
} }
...@@ -350,23 +347,20 @@ public class LNodeImpl extends UnNamingImpl implements LNode { ...@@ -350,23 +347,20 @@ 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;
} }
...@@ -399,23 +393,20 @@ public class LNodeImpl extends UnNamingImpl implements LNode { ...@@ -399,23 +393,20 @@ 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;
} }
...@@ -448,12 +439,12 @@ public class LNodeImpl extends UnNamingImpl implements LNode { ...@@ -448,12 +439,12 @@ public class LNodeImpl extends UnNamingImpl implements LNode {
}