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
-
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 String
basePackageName
(org.palladiosimulator.pcm.core.entity.Entity s) static String
beanName
(org.palladiosimulator.pcm.repository.RepositoryComponent c) static String
className
(org.palladiosimulator.pcm.core.composition.ComposedStructure s) static String
contextClassName
(org.palladiosimulator.pcm.core.entity.InterfaceRequiringEntity c) static String
contextInterfaceName
(org.palladiosimulator.pcm.core.entity.InterfaceRequiringEntity c) static String
dummyComponentName
(org.palladiosimulator.pcm.repository.InfrastructureRequiredRole rr) static String
dummyComponentName
(org.palladiosimulator.pcm.repository.OperationRequiredRole rr) static String
entryLevelSystemCallActionDescription
(org.palladiosimulator.pcm.repository.InfrastructureSignature os, Object call) static String
entryLevelSystemCallActionDescription
(org.palladiosimulator.pcm.repository.OperationSignature os, Object call) static String
externalCallActionDescription
(org.palladiosimulator.pcm.repository.OperationSignature os, Object call) static org.palladiosimulator.pcm.repository.BasicComponent
static String
fqn
(org.eclipse.emf.cdo.CDOObject s) static String
fqnAllocationContext
(org.palladiosimulator.pcm.allocation.Allocation a) static String
fqnAllocationContextClass
(org.palladiosimulator.pcm.allocation.Allocation a) static String
fqnAllocationContextPackage
(org.palladiosimulator.pcm.allocation.Allocation a) static String
fqnContext
(org.palladiosimulator.pcm.core.entity.InterfaceRequiringEntity c) static String
fqnContextInterface
(org.palladiosimulator.pcm.core.entity.InterfaceRequiringEntity c) static String
fqnContextPackage
(org.palladiosimulator.pcm.core.entity.Entity c) static String
fqnDummyComponent
(org.palladiosimulator.pcm.repository.InfrastructureRequiredRole rr) static String
fqnDummyComponent
(org.palladiosimulator.pcm.repository.OperationRequiredRole rr) static String
fqnDummyComponentPackage
(org.palladiosimulator.pcm.repository.InfrastructureRequiredRole rr) static String
fqnDummyComponentPackage
(org.palladiosimulator.pcm.repository.OperationRequiredRole rr) static String
fqnInterface
(org.palladiosimulator.pcm.core.entity.InterfaceProvidingEntity c) static String
fqnJavaEEBasicComponentClassName
(org.palladiosimulator.pcm.core.entity.Entity e) static String
fqnJavaEEBasicComponentClassPackage
(org.palladiosimulator.pcm.core.entity.Entity e) static String
fqnJavaEEBasicComponentClassPath
(org.palladiosimulator.pcm.core.entity.Entity r) static String
fqnJavaEEBasicComponentPortClassPath
(org.palladiosimulator.pcm.repository.ProvidedRole r) static String
fqnJavaEEBasicComponentPortProjectName
(org.palladiosimulator.pcm.repository.ProvidedRole r) static String
fqnJavaEEBasicComponentProjectName
(org.palladiosimulator.pcm.core.entity.Entity r) static String
fqnJavaEEClientDeployName
(org.palladiosimulator.pcm.core.entity.Entity e) static String
fqnJavaEEComponentInterfacePath
(org.palladiosimulator.pcm.core.entity.Entity i) static String
fqnJavaEEComponentPortInterface
(org.palladiosimulator.pcm.repository.ProvidedRole e) static String
fqnJavaEEComponentPortSuperClass
(org.palladiosimulator.pcm.core.entity.Entity e) static String
fqnJavaEEDescriptorPath
(org.palladiosimulator.pcm.core.entity.Entity e) static String
fqnJavaEEDescriptorProjectName
(org.palladiosimulator.pcm.core.entity.Entity e) static String
fqnJavaEEInterfaceName
(org.palladiosimulator.pcm.core.entity.Entity p) static String
fqnJavaEEInterfacePackage
(org.palladiosimulator.pcm.core.entity.Entity b) static String
fqnJavaEEOperationInterfacePath
(org.palladiosimulator.pcm.core.entity.Entity i) static String
fqnJavaEEOperationInterfaceProjectName
(org.palladiosimulator.pcm.core.entity.Entity i) static String
fqnJavaEEPortPackage
(org.palladiosimulator.pcm.repository.ProvidedRole r) static String
fqnJavaEEPreferencesPath
(org.palladiosimulator.pcm.core.entity.Entity e) static String
fqnPort
(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole pr) static String
fqnPort
(org.palladiosimulator.pcm.repository.OperationProvidedRole pr) static String
fqnPortPackage
(org.palladiosimulator.pcm.repository.ProvidedRole pr) static String
fqnToDirectoryPath
(String fqn) static String
getFileName
(org.palladiosimulator.pcm.core.entity.Entity e) static String
getFilePath
(org.palladiosimulator.pcm.core.entity.Entity e) static String
implementationPackage
(org.palladiosimulator.pcm.PCMBaseClass s) static String
interfaceName
(org.palladiosimulator.pcm.core.entity.InterfaceProvidingEntity c) static String
internalActionDescription
(org.palladiosimulator.pcm.repository.InfrastructureSignature os, Object call) static String
javaEEDisplayName
(org.palladiosimulator.pcm.core.entity.Entity e) static String
javaEEEjbClientjar
(org.palladiosimulator.pcm.core.entity.Entity e) static String
javaName
(org.palladiosimulator.pcm.core.entity.Entity e) static String
javaSignature
(org.palladiosimulator.pcm.repository.InfrastructureSignature s) static String
javaSignature
(org.palladiosimulator.pcm.repository.OperationSignature s) static String
javaString
(String s) static String
static String
portClassName
(org.palladiosimulator.pcm.repository.ProvidedRole r) static String
portGetter
(org.palladiosimulator.pcm.repository.ProvidedRole r) static String
portMemberVar
(org.palladiosimulator.pcm.repository.InfrastructureProvidedRole r) static String
portMemberVar
(org.palladiosimulator.pcm.repository.OperationProvidedRole r) static int
posInInterface
(org.palladiosimulator.pcm.repository.InfrastructureSignature s, int pos) static int
posInInterface
(org.palladiosimulator.pcm.repository.OperationSignature s, int pos) static String
static String
seffDescription
(org.palladiosimulator.pcm.repository.InfrastructureSignature os, org.palladiosimulator.pcm.repository.RepositoryComponent component) static String
seffDescription
(org.palladiosimulator.pcm.repository.OperationSignature os, org.palladiosimulator.pcm.repository.RepositoryComponent component) static String
serviceName
(org.palladiosimulator.pcm.repository.Signature s) static String
serviceNameStub
(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
-