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