Commit 181e9ef4 authored by Dominique Marcadet's avatar Dominique Marcadet

StringBuffer replaced by StringBuilder with Photon EMF

parent fb7f94ce
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: RiseClipse IEC 61850 SCL Edit Support
Bundle-Vendor: CentraleSupélec & EDF
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: fr.centralesupelec.edf.riseclipse.iec61850.scl.edit;singleton:=true
Automatic-Module-Name: fr.centralesupelec.edf.riseclipse.iec61850.scl.edit
Bundle-Version: 1.0.2.qualifier
Bundle-ClassPath: .
Bundle-Activator: fr.centralesupelec.edf.riseclipse.iec61850.scl.provider.SCLEditPlugin$Implementation
......
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: RiseClipse IEC61850 SCL Metamodel
Bundle-Vendor: CentraleSupélec & EDF
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: fr.centralesupelec.edf.riseclipse.iec61850.scl;singleton:=true
Automatic-Module-Name: fr.centralesupelec.edf.riseclipse.iec61850.scl
Bundle-Version: 1.0.2.qualifier
Bundle-ClassPath: .
Bundle-Localization: plugin
......
......@@ -866,7 +866,7 @@ public abstract class AbstractDataAttributeImpl extends DataAttributeImpl implem
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (bType: ");
if (bTypeESet) result.append(bType); else result.append("<unset>");
result.append(", count: ");
......
......@@ -351,7 +351,7 @@ public class AbstractEqFuncSubFuncImpl extends PowerSystemResourceImpl implement
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (type: ");
if (typeESet) result.append(type); else result.append("<unset>");
result.append(')');
......
......@@ -1311,7 +1311,7 @@ public class AccessPointImpl extends UnNamingImpl implements AccessPoint {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (clock: ");
if (clockESet) result.append(clock); else result.append("<unset>");
result.append(", kdc: ");
......
......@@ -247,7 +247,7 @@ public abstract class AnyContentFromOtherNamespaceImpl extends SclObjectImpl imp
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (mixed: ");
result.append(mixed);
result.append(", anyAttribute: ");
......
......@@ -1302,7 +1302,7 @@ public abstract class AnyLNImpl extends UnNamingImpl implements AnyLN {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (inst: ");
if (instESet) result.append(inst); else result.append("<unset>");
result.append(", lnClass: ");
......
......@@ -956,7 +956,7 @@ public class AssociationImpl extends BaseElementImpl implements Association {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (associationID: ");
if (associationIDESet) result.append(associationID); else result.append("<unset>");
result.append(", iedName: ");
......
......@@ -644,7 +644,7 @@ public class AuthenticationImpl extends SclObjectImpl implements Authentication
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (certificate: ");
if (certificateESet) result.append(certificate); else result.append("<unset>");
result.append(", none: ");
......
......@@ -409,7 +409,7 @@ public abstract class BaseElementImpl extends ExplicitLinkResolverImpl implement
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (any: ");
result.append(any);
result.append(", anyAttribute: ");
......
......@@ -334,7 +334,7 @@ public class BitRateInMbPerSecImpl extends SclObjectImpl implements BitRateInMbP
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(value);
result.append(", multiplier: ");
......
......@@ -288,7 +288,7 @@ public class CertImpl extends SclObjectImpl implements Cert {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (commonName: ");
if (commonNameESet) result.append(commonName); else result.append("<unset>");
result.append(", idHierarchy: ");
......
......@@ -578,7 +578,7 @@ public class CertificateImpl extends NamingImpl implements Certificate {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (serialNumber: ");
if (serialNumberESet) result.append(serialNumber); else result.append("<unset>");
result.append(", xferNumber: ");
......
......@@ -959,7 +959,7 @@ public class ClientLNImpl extends ExplicitLinkResolverImpl implements ClientLN {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (apRef: ");
if (apRefESet) result.append(apRef); else result.append("<unset>");
result.append(", iedName: ");
......
......@@ -1292,7 +1292,7 @@ public class ClientServicesImpl extends SclObjectImpl implements ClientServices
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (bufReport: ");
if (bufReportESet) result.append(bufReport); else result.append("<unset>");
result.append(", goose: ");
......
......@@ -300,7 +300,7 @@ public class CommProtImpl extends SclObjectImpl implements CommProt {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (ipv6: ");
if (ipv6ESet) result.append(ipv6); else result.append("<unset>");
result.append(')');
......
......@@ -607,7 +607,7 @@ public class ConductingEquipmentImpl extends AbstractConductingEquipmentImpl imp
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (type: ");
if (typeESet) result.append(type); else result.append("<unset>");
result.append(')');
......
......@@ -386,7 +386,7 @@ public class ConfLNsImpl extends SclObjectImpl implements ConfLNs {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (fixLnInst: ");
if (fixLnInstESet) result.append(fixLnInst); else result.append("<unset>");
result.append(", fixPrefix: ");
......
......@@ -300,7 +300,7 @@ public class ConfSGImpl extends SclObjectImpl implements ConfSG {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (resvTms: ");
if (resvTmsESet) result.append(resvTms); else result.append("<unset>");
result.append(')');
......
......@@ -923,7 +923,7 @@ public class ConnectedAPImpl extends UnNamingImpl implements ConnectedAP {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (apName: ");
if (apNameESet) result.append(apName); else result.append("<unset>");
result.append(", iedName: ");
......
......@@ -424,7 +424,7 @@ public class ConnectivityNodeImpl extends LNodeContainerImpl implements Connecti
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (pathName: ");
if (pathNameESet) result.append(pathName); else result.append("<unset>");
result.append(')');
......
......@@ -724,7 +724,7 @@ public abstract class ControlBlockImpl extends UnNamingImpl implements ControlBl
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (cbName: ");
if (cbNameESet) result.append(cbName); else result.append("<unset>");
result.append(", ldInst: ");
......
......@@ -452,7 +452,7 @@ public abstract class ControlImpl extends UnNamingImpl implements Control {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (datSet: ");
if (datSetESet) result.append(datSet); else result.append("<unset>");
result.append(", name: ");
......
......@@ -482,7 +482,7 @@ public class ControlWithIEDNameImpl extends ControlImpl implements ControlWithIE
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (confRev: ");
if (confRevESet) result.append(confRev); else result.append("<unset>");
result.append(')');
......
......@@ -360,7 +360,7 @@ public abstract class ControlWithTriggerOptImpl extends ControlImpl implements C
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (intgPd: ");
if (intgPdESet) result.append(intgPd); else result.append("<unset>");
result.append(')');
......
......@@ -683,7 +683,7 @@ public class DAIImpl extends DataAttributeImpl implements DAI {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (ix: ");
if (ixESet) result.append(ix); else result.append("<unset>");
result.append(", sAddr: ");
......
......@@ -781,7 +781,7 @@ public class DAImpl extends AbstractDataAttributeImpl implements DA {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (dchg: ");
if (dchgESet) result.append(dchg); else result.append("<unset>");
result.append(", dupd: ");
......
......@@ -478,7 +478,7 @@ public class DATypeImpl extends IDNamingImpl implements DAType {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (iedType: ");
if (iedTypeESet) result.append(iedType); else result.append("<unset>");
result.append(')');
......
......@@ -420,7 +420,7 @@ public class DOIImpl extends DataObjectImpl implements DOI {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (ix: ");
if (ixESet) result.append(ix); else result.append("<unset>");
result.append(')');
......
......@@ -528,7 +528,7 @@ public class DOImpl extends DataObjectImpl implements DO {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (transient: ");
if (transientESet) result.append(transient_); else result.append("<unset>");
result.append(", type: ");
......
......@@ -623,7 +623,7 @@ public class DOTypeImpl extends IDNamingImpl implements DOType {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (cdc: ");
if (cdcESet) result.append(cdc); else result.append("<unset>");
result.append(", iedType: ");
......
......@@ -344,7 +344,7 @@ public abstract class DataAttributeImpl extends UnNamingImpl implements DataAttr
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (name: ");
if (nameESet) result.append(name); else result.append("<unset>");
result.append(')');
......
......@@ -434,7 +434,7 @@ public abstract class DataObjectImpl extends UnNamingImpl implements DataObject
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (accessControl: ");
if (accessControlESet) result.append(accessControl); else result.append("<unset>");
result.append(", name: ");
......
......@@ -421,7 +421,7 @@ public class DataSetImpl extends UnNamingImpl implements DataSet {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (name: ");
if (nameESet) result.append(name); else result.append("<unset>");
result.append(')');
......
......@@ -334,7 +334,7 @@ public class DurationInMilliSecImpl extends SclObjectImpl implements DurationInM
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(value);
result.append(", multiplier: ");
......
......@@ -438,7 +438,7 @@ public class EnumValImpl extends SclObjectImpl implements EnumVal {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (ord: ");
if (ordESet) result.append(ord); else result.append("<unset>");
result.append(", value: ");
......
......@@ -202,7 +202,7 @@ public class EquipmentImpl extends PowerSystemResourceImpl implements Equipment
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (virtual: ");
if (virtualESet) result.append(virtual); else result.append("<unset>");
result.append(')');
......
......@@ -1919,7 +1919,7 @@ public class ExtRefImpl extends BaseElementImpl implements ExtRef {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (daName: ");
if (daNameESet) result.append(daName); else result.append("<unset>");
result.append(", doName: ");
......
......@@ -1332,7 +1332,7 @@ public class FCDAImpl extends ExplicitLinkResolverImpl implements FCDA {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (daName: ");
if (daNameESet) result.append(daName); else result.append("<unset>");
result.append(", doName: ");
......
......@@ -472,7 +472,7 @@ public class FileHandlingImpl extends SclObjectImpl implements FileHandling {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (ftp: ");
if (ftpESet) result.append(ftp); else result.append("<unset>");
result.append(", ftps: ");
......
......@@ -661,7 +661,7 @@ public class FunctionImpl extends PowerSystemResourceImpl implements Function {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (type: ");
if (typeESet) result.append(type); else result.append("<unset>");
result.append(')');
......
......@@ -300,7 +300,7 @@ public class GOOSEImpl extends ServiceWithMaxImpl implements GOOSE {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (fixedOffs: ");
if (fixedOffsESet) result.append(fixedOffs); else result.append("<unset>");
result.append(')');
......
......@@ -569,7 +569,7 @@ public class GSEControlImpl extends ControlWithIEDNameImpl implements GSEControl
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (appID: ");
if (appIDESet) result.append(appID); else result.append("<unset>");
result.append(", fixedOffs: ");
......
......@@ -387,7 +387,7 @@ public class GSESettingsImpl extends ServiceSettingsImpl implements GSESettings
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (appID: ");
if (appIDESet) result.append(appID); else result.append("<unset>");
result.append(", dataLabel: ");
......
......@@ -610,7 +610,7 @@ public class GeneralEquipmentImpl extends EquipmentImpl implements GeneralEquipm
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (type: ");
if (typeESet) result.append(type); else result.append("<unset>");
result.append(')');
......
......@@ -914,7 +914,7 @@ public class HeaderImpl extends SclObjectImpl implements Header {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (id: ");
if (idESet) result.append(id); else result.append("<unset>");
result.append(", nameStructure: ");
......
......@@ -730,7 +730,7 @@ public class HitemImpl extends SclObjectImpl implements Hitem {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (revision: ");
if (revisionESet) result.append(revision); else result.append("<unset>");
result.append(", version: ");
......
......@@ -291,7 +291,7 @@ public class IDNamingImpl extends BaseElementImpl implements IDNaming {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (id: ");
if (idESet) result.append(id); else result.append("<unset>");
result.append(", desc: ");
......
......@@ -1298,7 +1298,7 @@ public class IEDImpl extends UnNamingImpl implements IED {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (configVersion: ");
if (configVersionESet) result.append(configVersion); else result.append("<unset>");
result.append(", engRight: ");
......
......@@ -871,7 +871,7 @@ public class IEDNameImpl extends ExplicitLinkResolverImpl implements IEDName {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (apRef: ");
if (apRefESet) result.append(apRef); else result.append("<unset>");
result.append(", ldInst: ");
......
......@@ -529,7 +529,7 @@ public class KDCImpl extends ExplicitLinkResolverImpl implements KDC {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (apName: ");
if (apNameESet) result.append(apName); else result.append("<unset>");
result.append(", iedName: ");
......
......@@ -833,7 +833,7 @@ public class LDeviceImpl extends UnNamingImpl implements LDevice {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (inst: ");
if (instESet) result.append(inst); else result.append("<unset>");
result.append(", ldName: ");
......
......@@ -427,7 +427,7 @@ public class LNImpl extends AnyLNImpl implements LN {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (prefix: ");
if (prefixESet) result.append(prefix); else result.append("<unset>");
result.append(')');
......
......@@ -1154,7 +1154,7 @@ public class LNodeImpl extends UnNamingImpl implements LNode {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (iedName: ");
if (iedNameESet) result.append(iedName); else result.append("<unset>");
result.append(", ldInst: ");
......
......@@ -510,7 +510,7 @@ public class LNodeTypeImpl extends IDNamingImpl implements LNodeType {
public String toString() {
if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
StringBuilder result = new StringBuilder(super.toString());
result.append(" (iedType: ");
if (iedTypeESet) result.append(iedType); else result.append("<unset>");