Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.app.model.impl
Class ArtifactImpl

java.lang.Object
  extended by EObjectImpl
      extended by com.ibm.etools.systems.app.model.impl.ArtifactImpl
All Implemented Interfaces:
Artifact
Direct Known Subclasses:
BinaryArtifactImpl, BoundModuleImpl, CallableBlockImpl, SourceContainerImpl

public class ArtifactImpl
extends EObjectImpl
implements Artifact

An implementation of the model object 'Artifact'.

The following features are implemented:


Field Summary
static String copyright
           
protected  boolean external
          The cached value of the 'External' attribute.
protected static boolean EXTERNAL_EDEFAULT
          The default value of the 'External' attribute.
protected  String location
          The cached value of the 'Location' attribute.
protected static String LOCATION_EDEFAULT
          The default value of the 'Location' attribute.
protected  String name
          The cached value of the 'Name' attribute.
protected static String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected  String subtype
          The cached value of the 'Subtype' attribute.
protected static String SUBTYPE_EDEFAULT
          The default value of the 'Subtype' attribute.
protected  String type
          The cached value of the 'Type' attribute.
protected static String TYPE_EDEFAULT
          The default value of the 'Type' attribute.
protected  String version
          The cached value of the 'Version' attribute.
protected static String VERSION_EDEFAULT
          The default value of the 'Version' attribute.
 
Constructor Summary
protected ArtifactImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 String getLocation()
           
 String getName()
           
 String getSubtype()
           
 String getType()
           
 String getVersion()
           
 boolean isExternal()
           
 void setExternal(boolean newExternal)
           
 void setLocation(String newLocation)
           
 void setName(String newName)
           
 void setSubtype(String newSubtype)
           
 void setType(String newType)
           
 void setVersion(String newVersion)
           
 String toString()
           
 
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

NAME_EDEFAULT

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

See Also:
getName()

name

protected String name
The cached value of the 'Name' attribute.

See Also:
getName()

TYPE_EDEFAULT

protected static final String TYPE_EDEFAULT
The default value of the 'Type' attribute.

See Also:
getType()

type

protected String type
The cached value of the 'Type' attribute.

See Also:
getType()

SUBTYPE_EDEFAULT

protected static final String SUBTYPE_EDEFAULT
The default value of the 'Subtype' attribute.

See Also:
getSubtype()

subtype

protected String subtype
The cached value of the 'Subtype' attribute.

See Also:
getSubtype()

VERSION_EDEFAULT

protected static final String VERSION_EDEFAULT
The default value of the 'Version' attribute.

See Also:
getVersion()

version

protected String version
The cached value of the 'Version' attribute.

See Also:
getVersion()

EXTERNAL_EDEFAULT

protected static final boolean EXTERNAL_EDEFAULT
The default value of the 'External' attribute.

See Also:
isExternal(), Constant Field Values

external

protected boolean external
The cached value of the 'External' attribute.

See Also:
isExternal()

LOCATION_EDEFAULT

protected static final String LOCATION_EDEFAULT
The default value of the 'Location' attribute.

See Also:
getLocation()

location

protected String location
The cached value of the 'Location' attribute.

See Also:
getLocation()
Constructor Detail

ArtifactImpl

protected ArtifactImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getName

public String getName()

Specified by:
getName in interface Artifact
Returns:
the value of the 'Name' attribute.
See Also:
Artifact.setName(String), ModelPackage.getArtifact_Name()

setName

public void setName(String newName)

Specified by:
setName in interface Artifact
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
Artifact.getName()

getType

public String getType()

Specified by:
getType in interface Artifact
Returns:
the value of the 'Type' attribute.
See Also:
Artifact.setType(String), ModelPackage.getArtifact_Type()

setType

public void setType(String newType)

Specified by:
setType in interface Artifact
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
Artifact.getType()

getSubtype

public String getSubtype()

Specified by:
getSubtype in interface Artifact
Returns:
the value of the 'Subtype' attribute.
See Also:
Artifact.setSubtype(String), ModelPackage.getArtifact_Subtype()

setSubtype

public void setSubtype(String newSubtype)

Specified by:
setSubtype in interface Artifact
Parameters:
newSubtype - the new value of the 'Subtype' attribute.
See Also:
Artifact.getSubtype()

getVersion

public String getVersion()

Specified by:
getVersion in interface Artifact
Returns:
the value of the 'Version' attribute.
See Also:
Artifact.setVersion(String), ModelPackage.getArtifact_Version()

setVersion

public void setVersion(String newVersion)

Specified by:
setVersion in interface Artifact
Parameters:
newVersion - the new value of the 'Version' attribute.
See Also:
Artifact.getVersion()

isExternal

public boolean isExternal()

Specified by:
isExternal in interface Artifact
Returns:
the value of the 'External' attribute.
See Also:
Artifact.setExternal(boolean), ModelPackage.getArtifact_External()

setExternal

public void setExternal(boolean newExternal)

Specified by:
setExternal in interface Artifact
Parameters:
newExternal - the new value of the 'External' attribute.
See Also:
Artifact.isExternal()

getLocation

public String getLocation()

Specified by:
getLocation in interface Artifact
Returns:
the value of the 'Location' attribute.
See Also:
Artifact.setLocation(String), ModelPackage.getArtifact_Location()

setLocation

public void setLocation(String newLocation)

Specified by:
setLocation in interface Artifact
Parameters:
newLocation - the new value of the 'Location' attribute.
See Also:
Artifact.getLocation()

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 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.