Remote Systems
v6.4.1

com.ibm.etools.systems.subsystems.impl
Class ServerLauncherImpl

java.lang.Object
  extended byEObjectImpl
      extended bycom.ibm.etools.systems.subsystems.impl.ServerLauncherImpl
All Implemented Interfaces:
ServerLauncher
Direct Known Subclasses:
IBMServerLauncherImpl

public class ServerLauncherImpl
extends EObjectImpl
implements ServerLauncher

This class holds persistable properties needed to enable a subsystem to start, or connect with, the server-side code that the subsystem client communicates with. A server launcher is an optional property of a subsystem.

Create instances via SubSystemFactoryImpl.createServerLauncher(SubSystem)

The following features are implemented:

See Also:
Serialized Form

Field Summary
static String copyright
           
protected static String VENDOR_ATTRIBUTES_EDEFAULT
          The default value of the 'Vendor Attributes' attribute
protected  String vendorAttributes
          The cached value of the 'Vendor Attributes' attribute
protected  boolean vendorAttributesESet
          This is true if the Vendor Attributes attribute has been set
 
Constructor Summary
protected ServerLauncherImpl()
           Constructor
 
Method Summary
 ServerLauncher cloneServerLauncher(ServerLauncher newOne)
          Clone the contents of this server launcher into the given server launcher Your sublcass must override this if you add additional attributes!
 NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
           Private.
 Object eGet(EStructuralFeature eFeature, boolean resolve)
           Private.
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
           Private.
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
           Private.
 boolean eIsSet(EStructuralFeature eFeature)
           Private.
 void eSet(EStructuralFeature eFeature, Object newValue)
           Private.
protected  EClass eStaticClass()
           Private.
 void eUnset(EStructuralFeature eFeature)
           Private.
 SubSystem getParentSubSystem()
           Return the parent subsystem that owns this server launcher
 SubSystemFactory getParentSubSystemFactory()
          Return parent subsystem factory.
 String getVendorAttribute(String vendorName, String attributeName)
          For business partners defining their own subclasses and additional attributes.
 String getVendorAttributes()
           Private.
 boolean isSetVendorAttributes()
           Private.
 void setParentSubSystem(SubSystem newParentSubSystem)
           Private.
 void setVendorAttribute(String vendorName, String attributeName, String attributeValue)
          For business partners defining their own subclasses and additional attributes.
 void setVendorAttributes(String newVendorAttributes)
           Private.
 String toString()
           Private.
 void unsetVendorAttributes()
           Private.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

VENDOR_ATTRIBUTES_EDEFAULT

protected static final String VENDOR_ATTRIBUTES_EDEFAULT
The default value of the 'Vendor Attributes' attribute.

See Also:
getVendorAttributes()

vendorAttributes

protected String vendorAttributes
The cached value of the 'Vendor Attributes' attribute.

See Also:
getVendorAttributes()

vendorAttributesESet

protected boolean vendorAttributesESet
This is true if the Vendor Attributes attribute has been set.

Constructor Detail

ServerLauncherImpl

protected ServerLauncherImpl()
Constructor

Method Detail

cloneServerLauncher

public ServerLauncher cloneServerLauncher(ServerLauncher newOne)
Clone the contents of this server launcher into the given server launcher Your sublcass must override this if you add additional attributes! Be sure to call super.cloneServerLauncher(newOne) first.

Specified by:
cloneServerLauncher in interface ServerLauncher
Returns:
the given new server launcher, for convenience.

setVendorAttribute

public void setVendorAttribute(String vendorName,
                               String attributeName,
                               String attributeValue)
For business partners defining their own subclasses and additional attributes.

This method allows an attribute to be persisted in this server launcher, given the following information:

Warning do not use any of the following characters in any of given parameters, or it will cause problems with parsing:


getVendorAttribute

public String getVendorAttribute(String vendorName,
                                 String attributeName)
For business partners defining their own subclasses and additional attributes.

This method allows retrieval of a persisted attribute in this server launcher, given the following information:

Warning do not use any of the following characters in any of given parameters, or it will cause problems with parsing:

Returns:
value of the attribute being queried, or null if not found

getParentSubSystemFactory

public SubSystemFactory getParentSubSystemFactory()
Return parent subsystem factory.


eStaticClass

protected EClass eStaticClass()
Private. Do not call or use.


getVendorAttributes

public String getVendorAttributes()
Private. Do not call or use.

Specified by:
getVendorAttributes in interface ServerLauncher
Returns:
the value of the 'Vendor Attributes' attribute.
See Also:
ServerLauncher.isSetVendorAttributes(), ServerLauncher.unsetVendorAttributes(), ServerLauncher.setVendorAttributes(String), SubsystemsPackage.getServerLauncher_VendorAttributes()

setVendorAttributes

public void setVendorAttributes(String newVendorAttributes)
Private. Do not call or use.

Specified by:
setVendorAttributes in interface ServerLauncher
Parameters:
newVendorAttributes - the new value of the 'Vendor Attributes' attribute.
See Also:
ServerLauncher.isSetVendorAttributes(), ServerLauncher.unsetVendorAttributes(), ServerLauncher.getVendorAttributes()

unsetVendorAttributes

public void unsetVendorAttributes()
Private. Do not call or use.

Specified by:
unsetVendorAttributes in interface ServerLauncher
See Also:
ServerLauncher.isSetVendorAttributes(), ServerLauncher.getVendorAttributes(), ServerLauncher.setVendorAttributes(String)

isSetVendorAttributes

public boolean isSetVendorAttributes()
Private. Do not call or use.

Specified by:
isSetVendorAttributes in interface ServerLauncher
Returns:
whether the value of the 'Vendor Attributes' attribute is set.
See Also:
ServerLauncher.unsetVendorAttributes(), ServerLauncher.getVendorAttributes(), ServerLauncher.setVendorAttributes(String)

getParentSubSystem

public SubSystem getParentSubSystem()
Return the parent subsystem that owns this server launcher

Specified by:
getParentSubSystem in interface ServerLauncher
Returns:
the value of the 'Parent Sub System' container reference.
See Also:
ServerLauncher.setParentSubSystem(SubSystem), SubsystemsPackage.getServerLauncher_ParentSubSystem(), SubSystem.getRemoteServerLauncher()

setParentSubSystem

public void setParentSubSystem(SubSystem newParentSubSystem)
Private. Do not call or use.

Specified by:
setParentSubSystem in interface ServerLauncher
Parameters:
newParentSubSystem - the new value of the 'Parent Sub System' container reference.
See Also:
ServerLauncher.getParentSubSystem()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     Class baseClass,
                                     NotificationChain msgs)
Private. Do not call or use.


eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        Class baseClass,
                                        NotificationChain msgs)
Private. Do not call or use.


eBasicRemoveFromContainer

public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
Private. Do not call or use.


eGet

public Object eGet(EStructuralFeature eFeature,
                   boolean resolve)
Private. Do not call or use.


eSet

public void eSet(EStructuralFeature eFeature,
                 Object newValue)
Private. Do not call or use.


eUnset

public void eUnset(EStructuralFeature eFeature)
Private. Do not call or use.


eIsSet

public boolean eIsSet(EStructuralFeature eFeature)
Private. Do not call or use.


toString

public String toString()
Private. Do not call or use.


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.