Class JavaNames
java.lang.Object
org.palladiosimulator.protocom.lang.java.util.JavaNames
1:1 copy from the old JavaNames xtend1 extension.
Ugly as hell, but whatever works.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static String_fqn(org.palladiosimulator.pcm.repository.InfrastructureInterface i) protected static String_fqn(org.palladiosimulator.pcm.repository.OperationInterface i) protected static String_fqn(org.palladiosimulator.pcm.repository.RepositoryComponent c) protected static String_fqn(org.palladiosimulator.pcm.system.System s) protected static String_fqn(org.palladiosimulator.pcm.usagemodel.UsageScenario us) protected static String_fqnJavaEEBasicComponentPortClassPath(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole r) protected static String_fqnJavaEEBasicComponentPortClassPath(org.palladiosimulator.pcm.repository.OperationProvidedRole r) protected static String_fqnJavaEEBasicComponentPortProjectName(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole r) protected static String_fqnJavaEEBasicComponentPortProjectName(org.palladiosimulator.pcm.repository.OperationProvidedRole r) protected static String_fqnJavaEEComponentPortInterface(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole e) protected static String_fqnJavaEEComponentPortInterface(org.palladiosimulator.pcm.repository.OperationProvidedRole e) protected static String_fqnJavaEEInterfaceName(org.palladiosimulator.pcm.core.entity.InterfaceProvidingEntity e) protected static String_fqnJavaEEInterfaceName(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole p) protected static String_fqnJavaEEInterfaceName(org.palladiosimulator.pcm.repository.OperationProvidedRole p) protected static String_fqnJavaEEInterfacePackage(org.palladiosimulator.pcm.core.entity.Entity b) protected static String_fqnJavaEEInterfacePackage(org.palladiosimulator.pcm.repository.ProvidedRole b) protected static String_fqnJavaEEOperationInterfacePath(org.palladiosimulator.pcm.repository.BasicComponent i) protected static String_fqnJavaEEOperationInterfacePath(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole i) protected static String_fqnJavaEEOperationInterfacePath(org.palladiosimulator.pcm.repository.OperationProvidedRole i) protected static String_fqnJavaEEOperationInterfaceProjectName(org.palladiosimulator.pcm.repository.BasicComponent i) protected static String_fqnJavaEEOperationInterfaceProjectName(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole i) protected static String_fqnJavaEEOperationInterfaceProjectName(org.palladiosimulator.pcm.repository.OperationProvidedRole i) protected static String_fqnPortPackage(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole pr) protected static String_fqnPortPackage(org.palladiosimulator.pcm.repository.ProvidedRole pr) protected static String_fqnPortPackage(org.palladiosimulator.pcm.repository.SinkRole pr) TODO Implement SinkRoles?protected static String_implementationPackage(org.palladiosimulator.pcm.reliability.FailureType ft) protected static String_implementationPackage(org.palladiosimulator.pcm.repository.CollectionDataType dt) protected static String_implementationPackage(org.palladiosimulator.pcm.repository.CompositeDataType dt) protected static String_implementationPackage(org.palladiosimulator.pcm.repository.InfrastructureInterface i) protected static String_implementationPackage(org.palladiosimulator.pcm.repository.OperationInterface i) protected static String_implementationPackage(org.palladiosimulator.pcm.repository.PrimitiveDataType dt) protected static String_implementationPackage(org.palladiosimulator.pcm.repository.RepositoryComponent c) protected static String_implementationPackage(org.palladiosimulator.pcm.system.System s) protected static String_implementationPackage(org.palladiosimulator.pcm.usagemodel.UsageScenario u) protected static String_portClassName(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole r) protected static String_portClassName(org.palladiosimulator.pcm.repository.OperationProvidedRole r) protected static String_portClassName(org.palladiosimulator.pcm.repository.SinkRole r) TODO Implement SinkRole?protected static String_portGetter(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole r) protected static String_portGetter(org.palladiosimulator.pcm.repository.OperationProvidedRole r) protected static String_serviceName(org.palladiosimulator.pcm.repository.EventType s) TODO Implement EventTypes?protected static String_serviceName(org.palladiosimulator.pcm.repository.InfrastructureSignature s) protected static String_serviceName(org.palladiosimulator.pcm.repository.OperationSignature s) protected static String_serviceNameStub(org.palladiosimulator.pcm.repository.EventType s) TODO Implement EventTypes?protected static String_serviceNameStub(org.palladiosimulator.pcm.repository.InfrastructureSignature s) protected static String_serviceNameStub(org.palladiosimulator.pcm.repository.OperationSignature s) static StringbasePackageName(org.palladiosimulator.pcm.core.entity.Entity s) static StringbeanName(org.palladiosimulator.pcm.repository.RepositoryComponent c) static StringclassName(org.palladiosimulator.pcm.core.composition.ComposedStructure s) static StringcontextClassName(org.palladiosimulator.pcm.core.entity.InterfaceRequiringEntity c) static StringcontextInterfaceName(org.palladiosimulator.pcm.core.entity.InterfaceRequiringEntity c) static StringdummyComponentName(org.palladiosimulator.pcm.repository.InfrastructureRequiredRole rr) static StringdummyComponentName(org.palladiosimulator.pcm.repository.OperationRequiredRole rr) static StringentryLevelSystemCallActionDescription(org.palladiosimulator.pcm.repository.InfrastructureSignature os, Object call) static StringentryLevelSystemCallActionDescription(org.palladiosimulator.pcm.repository.OperationSignature os, Object call) static StringexternalCallActionDescription(org.palladiosimulator.pcm.repository.OperationSignature os, Object call) static org.palladiosimulator.pcm.repository.BasicComponentstatic Stringfqn(org.eclipse.emf.cdo.CDOObject s) static StringfqnAllocationContext(org.palladiosimulator.pcm.allocation.Allocation a) static StringfqnAllocationContextClass(org.palladiosimulator.pcm.allocation.Allocation a) static StringfqnAllocationContextPackage(org.palladiosimulator.pcm.allocation.Allocation a) static StringfqnContext(org.palladiosimulator.pcm.core.entity.InterfaceRequiringEntity c) static StringfqnContextInterface(org.palladiosimulator.pcm.core.entity.InterfaceRequiringEntity c) static StringfqnContextPackage(org.palladiosimulator.pcm.core.entity.Entity c) static StringfqnDummyComponent(org.palladiosimulator.pcm.repository.InfrastructureRequiredRole rr) static StringfqnDummyComponent(org.palladiosimulator.pcm.repository.OperationRequiredRole rr) static StringfqnDummyComponentPackage(org.palladiosimulator.pcm.repository.InfrastructureRequiredRole rr) static StringfqnDummyComponentPackage(org.palladiosimulator.pcm.repository.OperationRequiredRole rr) static StringfqnInterface(org.palladiosimulator.pcm.core.entity.InterfaceProvidingEntity c) static StringfqnJavaEEBasicComponentClassName(org.palladiosimulator.pcm.core.entity.Entity e) static StringfqnJavaEEBasicComponentClassPackage(org.palladiosimulator.pcm.core.entity.Entity e) static StringfqnJavaEEBasicComponentClassPath(org.palladiosimulator.pcm.core.entity.Entity r) static StringfqnJavaEEBasicComponentPortClassPath(org.palladiosimulator.pcm.repository.ProvidedRole r) static StringfqnJavaEEBasicComponentPortProjectName(org.palladiosimulator.pcm.repository.ProvidedRole r) static StringfqnJavaEEBasicComponentProjectName(org.palladiosimulator.pcm.core.entity.Entity r) static StringfqnJavaEEClientDeployName(org.palladiosimulator.pcm.core.entity.Entity e) static StringfqnJavaEEComponentInterfacePath(org.palladiosimulator.pcm.core.entity.Entity i) static StringfqnJavaEEComponentPortInterface(org.palladiosimulator.pcm.repository.ProvidedRole e) static StringfqnJavaEEComponentPortSuperClass(org.palladiosimulator.pcm.core.entity.Entity e) static StringfqnJavaEEDescriptorPath(org.palladiosimulator.pcm.core.entity.Entity e) static StringfqnJavaEEDescriptorProjectName(org.palladiosimulator.pcm.core.entity.Entity e) static StringfqnJavaEEInterfaceName(org.palladiosimulator.pcm.core.entity.Entity p) static StringfqnJavaEEInterfacePackage(org.palladiosimulator.pcm.core.entity.Entity b) static StringfqnJavaEEOperationInterfacePath(org.palladiosimulator.pcm.core.entity.Entity i) static StringfqnJavaEEOperationInterfaceProjectName(org.palladiosimulator.pcm.core.entity.Entity i) static StringfqnJavaEEPortPackage(org.palladiosimulator.pcm.repository.ProvidedRole r) static StringfqnJavaEEPreferencesPath(org.palladiosimulator.pcm.core.entity.Entity e) static StringfqnPort(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole pr) static StringfqnPort(org.palladiosimulator.pcm.repository.OperationProvidedRole pr) static StringfqnPortPackage(org.palladiosimulator.pcm.repository.ProvidedRole pr) static StringfqnToDirectoryPath(String fqn) static StringgetFileName(org.palladiosimulator.pcm.core.entity.Entity e) static StringgetFilePath(org.palladiosimulator.pcm.core.entity.Entity e) static StringimplementationPackage(org.palladiosimulator.pcm.PCMBaseClass s) static StringinterfaceName(org.palladiosimulator.pcm.core.entity.InterfaceProvidingEntity c) static StringinternalActionDescription(org.palladiosimulator.pcm.repository.InfrastructureSignature os, Object call) static StringjavaEEDisplayName(org.palladiosimulator.pcm.core.entity.Entity e) static StringjavaEEEjbClientjar(org.palladiosimulator.pcm.core.entity.Entity e) static StringjavaName(org.palladiosimulator.pcm.core.entity.Entity e) static StringjavaSignature(org.palladiosimulator.pcm.repository.InfrastructureSignature s) static StringjavaSignature(org.palladiosimulator.pcm.repository.OperationSignature s) static StringjavaString(String s) static Stringstatic StringportClassName(org.palladiosimulator.pcm.repository.ProvidedRole r) static StringportGetter(org.palladiosimulator.pcm.repository.ProvidedRole r) static StringportMemberVar(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole r) static StringportMemberVar(org.palladiosimulator.pcm.repository.OperationProvidedRole r) static intposInInterface(org.palladiosimulator.pcm.repository.InfrastructureSignature s, int pos) static intposInInterface(org.palladiosimulator.pcm.repository.OperationSignature s, int pos) static Stringstatic StringseffDescription(org.palladiosimulator.pcm.repository.InfrastructureSignature os, org.palladiosimulator.pcm.repository.RepositoryComponent component) static StringseffDescription(org.palladiosimulator.pcm.repository.OperationSignature os, org.palladiosimulator.pcm.repository.RepositoryComponent component) static StringserviceName(org.palladiosimulator.pcm.repository.Signature s) static StringserviceNameStub(org.palladiosimulator.pcm.repository.Signature s) static String
-
Constructor Details
-
JavaNames
public JavaNames()
-
-
Method Details
-
removeAllSpecialChars
-
javaName
-
javaString
-
javaVariableName
-
specificationString
-
javaSignature
-
posInInterface
public static int posInInterface(org.palladiosimulator.pcm.repository.OperationSignature s, int pos) -
javaSignature
-
posInInterface
public static int posInInterface(org.palladiosimulator.pcm.repository.InfrastructureSignature s, int pos) -
_portClassName
protected static String _portClassName(org.palladiosimulator.pcm.repository.OperationProvidedRole r) -
_portClassName
protected static String _portClassName(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole r) -
_portClassName
TODO Implement SinkRole? -
contextClassName
public static String contextClassName(org.palladiosimulator.pcm.core.entity.InterfaceRequiringEntity c) -
contextInterfaceName
public static String contextInterfaceName(org.palladiosimulator.pcm.core.entity.InterfaceRequiringEntity c) -
portMemberVar
-
portMemberVar
public static String portMemberVar(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole r) -
_portGetter
-
_portGetter
protected static String _portGetter(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole r) -
basePackageName
-
_implementationPackage
protected static String _implementationPackage(org.palladiosimulator.pcm.repository.OperationInterface i) -
_implementationPackage
protected static String _implementationPackage(org.palladiosimulator.pcm.repository.InfrastructureInterface i) -
_implementationPackage
-
_implementationPackage
protected static String _implementationPackage(org.palladiosimulator.pcm.usagemodel.UsageScenario u) -
_implementationPackage
protected static String _implementationPackage(org.palladiosimulator.pcm.repository.RepositoryComponent c) -
_implementationPackage
protected static String _implementationPackage(org.palladiosimulator.pcm.reliability.FailureType ft) -
_implementationPackage
protected static String _implementationPackage(org.palladiosimulator.pcm.repository.PrimitiveDataType dt) -
_implementationPackage
protected static String _implementationPackage(org.palladiosimulator.pcm.repository.CollectionDataType dt) -
_implementationPackage
protected static String _implementationPackage(org.palladiosimulator.pcm.repository.CompositeDataType dt) -
className
-
fqnAllocationContextPackage
-
fqnAllocationContextClass
-
fqnAllocationContext
-
_fqn
-
_fqn
-
_fqn
-
_fqn
-
_fqn
-
fqnContextPackage
-
fqnContext
-
fqnContextInterface
public static String fqnContextInterface(org.palladiosimulator.pcm.core.entity.InterfaceRequiringEntity c) -
_fqnPortPackage
-
_fqnPortPackage
protected static String _fqnPortPackage(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole pr) -
_fqnPortPackage
TODO Implement SinkRoles? -
fqnPort
-
fqnPort
-
beanName
-
fqnInterface
-
interfaceName
public static String interfaceName(org.palladiosimulator.pcm.core.entity.InterfaceProvidingEntity c) -
dummyComponentName
public static String dummyComponentName(org.palladiosimulator.pcm.repository.OperationRequiredRole rr) -
dummyComponentName
public static String dummyComponentName(org.palladiosimulator.pcm.repository.InfrastructureRequiredRole rr) -
fqnDummyComponentPackage
public static String fqnDummyComponentPackage(org.palladiosimulator.pcm.repository.OperationRequiredRole rr) -
fqnDummyComponentPackage
public static String fqnDummyComponentPackage(org.palladiosimulator.pcm.repository.InfrastructureRequiredRole rr) -
fqnDummyComponent
public static String fqnDummyComponent(org.palladiosimulator.pcm.repository.OperationRequiredRole rr) -
fqnDummyComponent
public static String fqnDummyComponent(org.palladiosimulator.pcm.repository.InfrastructureRequiredRole rr) -
fqnToDirectoryPath
-
getFileName
-
getFilePath
-
_serviceName
-
_serviceName
protected static String _serviceName(org.palladiosimulator.pcm.repository.InfrastructureSignature s) -
javaEEDisplayName
-
javaEEEjbClientjar
-
fqnJavaEEBasicComponentClassPath
public static String fqnJavaEEBasicComponentClassPath(org.palladiosimulator.pcm.core.entity.Entity r) -
fqnJavaEEBasicComponentProjectName
public static String fqnJavaEEBasicComponentProjectName(org.palladiosimulator.pcm.core.entity.Entity r) -
_fqnJavaEEBasicComponentPortClassPath
protected static String _fqnJavaEEBasicComponentPortClassPath(org.palladiosimulator.pcm.repository.OperationProvidedRole r) -
_fqnJavaEEBasicComponentPortClassPath
protected static String _fqnJavaEEBasicComponentPortClassPath(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole r) -
_fqnJavaEEBasicComponentPortProjectName
protected static String _fqnJavaEEBasicComponentPortProjectName(org.palladiosimulator.pcm.repository.OperationProvidedRole r) -
_fqnJavaEEBasicComponentPortProjectName
protected static String _fqnJavaEEBasicComponentPortProjectName(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole r) -
fqnJavaEEComponentInterfacePath
public static String fqnJavaEEComponentInterfacePath(org.palladiosimulator.pcm.core.entity.Entity i) -
fqnJavaEEComponentPortSuperClass
public static String fqnJavaEEComponentPortSuperClass(org.palladiosimulator.pcm.core.entity.Entity e) -
_fqnJavaEEComponentPortInterface
protected static String _fqnJavaEEComponentPortInterface(org.palladiosimulator.pcm.repository.OperationProvidedRole e) -
_fqnJavaEEComponentPortInterface
protected static String _fqnJavaEEComponentPortInterface(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole e) -
_fqnJavaEEOperationInterfacePath
protected static String _fqnJavaEEOperationInterfacePath(org.palladiosimulator.pcm.repository.OperationProvidedRole i) -
_fqnJavaEEOperationInterfacePath
protected static String _fqnJavaEEOperationInterfacePath(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole i) -
_fqnJavaEEOperationInterfacePath
protected static String _fqnJavaEEOperationInterfacePath(org.palladiosimulator.pcm.repository.BasicComponent i) -
_fqnJavaEEOperationInterfaceProjectName
protected static String _fqnJavaEEOperationInterfaceProjectName(org.palladiosimulator.pcm.repository.OperationProvidedRole i) -
_fqnJavaEEOperationInterfaceProjectName
protected static String _fqnJavaEEOperationInterfaceProjectName(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole i) -
_fqnJavaEEOperationInterfaceProjectName
protected static String _fqnJavaEEOperationInterfaceProjectName(org.palladiosimulator.pcm.repository.BasicComponent i) -
_fqnJavaEEInterfacePackage
-
_fqnJavaEEInterfacePackage
protected static String _fqnJavaEEInterfacePackage(org.palladiosimulator.pcm.repository.ProvidedRole b) -
_fqnJavaEEInterfaceName
protected static String _fqnJavaEEInterfaceName(org.palladiosimulator.pcm.core.entity.InterfaceProvidingEntity e) -
_fqnJavaEEInterfaceName
protected static String _fqnJavaEEInterfaceName(org.palladiosimulator.pcm.repository.OperationProvidedRole p) -
_fqnJavaEEInterfaceName
protected static String _fqnJavaEEInterfaceName(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole p) -
fqnJavaEEPortPackage
-
fqnJavaEEBasicComponentClassPackage
public static String fqnJavaEEBasicComponentClassPackage(org.palladiosimulator.pcm.core.entity.Entity e) -
fqnJavaEEClientDeployName
-
fqnJavaEEDescriptorPath
-
fqnJavaEEPreferencesPath
-
fqnJavaEEDescriptorProjectName
-
fqnJavaEEBasicComponentClassName
public static String fqnJavaEEBasicComponentClassName(org.palladiosimulator.pcm.core.entity.Entity e) -
_serviceName
TODO Implement EventTypes? -
_serviceNameStub
-
_serviceNameStub
protected static String _serviceNameStub(org.palladiosimulator.pcm.repository.InfrastructureSignature s) -
_serviceNameStub
TODO Implement EventTypes? -
externalCallActionDescription
-
internalActionDescription
-
entryLevelSystemCallActionDescription
-
entryLevelSystemCallActionDescription
-
seffDescription
public static String seffDescription(org.palladiosimulator.pcm.repository.OperationSignature os, org.palladiosimulator.pcm.repository.RepositoryComponent component) -
seffDescription
public static String seffDescription(org.palladiosimulator.pcm.repository.InfrastructureSignature os, org.palladiosimulator.pcm.repository.RepositoryComponent component) -
findContainerComponent
-
portClassName
-
portGetter
-
implementationPackage
-
fqn
-
fqnPortPackage
-
serviceName
-
fqnJavaEEBasicComponentPortClassPath
public static String fqnJavaEEBasicComponentPortClassPath(org.palladiosimulator.pcm.repository.ProvidedRole r) -
fqnJavaEEBasicComponentPortProjectName
public static String fqnJavaEEBasicComponentPortProjectName(org.palladiosimulator.pcm.repository.ProvidedRole r) -
fqnJavaEEComponentPortInterface
public static String fqnJavaEEComponentPortInterface(org.palladiosimulator.pcm.repository.ProvidedRole e) -
fqnJavaEEOperationInterfacePath
public static String fqnJavaEEOperationInterfacePath(org.palladiosimulator.pcm.core.entity.Entity i) -
fqnJavaEEOperationInterfaceProjectName
public static String fqnJavaEEOperationInterfaceProjectName(org.palladiosimulator.pcm.core.entity.Entity i) -
fqnJavaEEInterfacePackage
-
fqnJavaEEInterfaceName
-
serviceNameStub
-