Remote Systems
v6.4.1

com.ibm.etools.systems.model.impl
Class SystemProfileImpl

java.lang.Object
  extended byEObjectImpl
      extended bycom.ibm.etools.systems.model.impl.SystemProfileImpl
All Implemented Interfaces:
IAdaptable, SystemProfile

public class SystemProfileImpl
extends EObjectImpl
implements SystemProfile, IAdaptable

See Also:
Serialized Form

Field Summary
static String copyright
           
protected static boolean DEFAULT_PRIVATE_EDEFAULT
          The default value of the 'Default Private' attribute
protected  boolean defaultPrivate
           
protected  String name
           
protected static String NAME_EDEFAULT
          The default value of the 'Name' attribute
 
Constructor Summary
protected SystemProfileImpl()
          Default constructor
 
Method Summary
 SystemConnection createConnection(String systemType, String connectionName, String hostName, String description)
          Convenience method for create a new connection within this profile.
 Object eGet(EStructuralFeature eFeature, boolean resolve)
           
 boolean eIsSet(EStructuralFeature eFeature)
           
 void eSet(EStructuralFeature eFeature, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(EStructuralFeature eFeature)
           
 Object getAdapter(Class adapterType)
          This is the method required by the IAdaptable interface.
 SystemCompileType[] getCompileCommandTypes()
          Return all compilable source types for this profile
 SystemCompileType[] getCompileCommandTypes(SubSystemFactory ssf)
          Return all compilable source types for this profile, scoped by subsystem factory
 SystemConnection[] getConnections()
          Return all connections for this profile
 SystemFilterPool[] getFilterPools()
          Return all filter pools for this profile
 SystemFilterPool[] getFilterPools(SubSystemFactory ssf)
          Return all filter pools for this profile, scoped by a given subsystem factory
 String getName()
           
 SystemProfileManager getProfileManager()
          Get the in-memory pointer back to the parent system profile manager
 SystemUDActionElement[] getUserActions()
          Return all user actions for this profile
 SystemUDActionElement[] getUserActions(SubSystemFactory ssf)
          Return all user actions for this profile, scoped by subsystem factory
 boolean isActive()
          Return true if this profile is currently active for this user
 boolean isDefaultPrivate()
           
protected  void setActive(boolean active)
          Reset whether this proifle is currently active for this user.
 void setDefaultPrivate(boolean newDefaultPrivate)
           
 void setName(String newName)
           
 void setProfileManager(SystemProfileManager mgr)
          Set the in-memory pointer back to the parent system profile manager
 String toString()
           
 String toStringGen()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME_EDEFAULT

protected static final String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

copyright

public static final String copyright
See Also:
Constant Field Values

name

protected String name

DEFAULT_PRIVATE_EDEFAULT

protected static final boolean DEFAULT_PRIVATE_EDEFAULT
The default value of the 'Default Private' attribute.

See Also:
isDefaultPrivate(), Constant Field Values

defaultPrivate

protected boolean defaultPrivate
Constructor Detail

SystemProfileImpl

protected SystemProfileImpl()
Default constructor

Method Detail

eStaticClass

protected EClass eStaticClass()


setProfileManager

public void setProfileManager(SystemProfileManager mgr)
Set the in-memory pointer back to the parent system profile manager

Specified by:
setProfileManager in interface SystemProfile

getProfileManager

public SystemProfileManager getProfileManager()
Get the in-memory pointer back to the parent system profile manager

Specified by:
getProfileManager in interface SystemProfile

createConnection

public SystemConnection createConnection(String systemType,
                                         String connectionName,
                                         String hostName,
                                         String description)
                                  throws Exception
Convenience method for create a new connection within this profile. Shortcut for SystemRegistry.createConnection(String,String,String,String)

Specified by:
createConnection in interface SystemProfile
Throws:
Exception

getConnections

public SystemConnection[] getConnections()
Return all connections for this profile

Specified by:
getConnections in interface SystemProfile

getFilterPools

public SystemFilterPool[] getFilterPools()
Return all filter pools for this profile

Specified by:
getFilterPools in interface SystemProfile

getFilterPools

public SystemFilterPool[] getFilterPools(SubSystemFactory ssf)
Return all filter pools for this profile, scoped by a given subsystem factory

Specified by:
getFilterPools in interface SystemProfile

getUserActions

public SystemUDActionElement[] getUserActions()
Return all user actions for this profile

Specified by:
getUserActions in interface SystemProfile

getUserActions

public SystemUDActionElement[] getUserActions(SubSystemFactory ssf)
Return all user actions for this profile, scoped by subsystem factory

Specified by:
getUserActions in interface SystemProfile

getCompileCommandTypes

public SystemCompileType[] getCompileCommandTypes()
Return all compilable source types for this profile

Specified by:
getCompileCommandTypes in interface SystemProfile

getCompileCommandTypes

public SystemCompileType[] getCompileCommandTypes(SubSystemFactory ssf)
Return all compilable source types for this profile, scoped by subsystem factory

Specified by:
getCompileCommandTypes in interface SystemProfile

isActive

public boolean isActive()
Return true if this profile is currently active for this user

Specified by:
isActive in interface SystemProfile

setActive

protected void setActive(boolean active)
Reset whether this proifle is currently active for this user.


getAdapter

public Object getAdapter(Class adapterType)
This is the method required by the IAdaptable interface. Given an adapter class type, return an object castable to the type, or null if this is not possible.

Specified by:
getAdapter in interface IAdaptable

toString

public String toString()

getName

public String getName()
Specified by:
getName in interface SystemProfile
Returns:
The value of the Name attribute

setName

public void setName(String newName)
Specified by:
setName in interface SystemProfile
Parameters:
newName - The new value of the Name attribute

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)

eSet

public void eSet(EStructuralFeature eFeature,
                 Object newValue)

eUnset

public void eUnset(EStructuralFeature eFeature)

toStringGen

public String toStringGen()

isDefaultPrivate

public boolean isDefaultPrivate()
Specified by:
isDefaultPrivate in interface SystemProfile
Returns:
The value of the DefaultPrivate attribute Is this profile created automatically, and is it the profile that is unique for this developer?

setDefaultPrivate

public void setDefaultPrivate(boolean newDefaultPrivate)
Specified by:
setDefaultPrivate in interface SystemProfile
Parameters:
newDefaultPrivate - The new value of the DefaultPrivate attribute

eGet

public Object eGet(EStructuralFeature eFeature,
                   boolean resolve)


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.