EGF Engine
Release 0.1.0

org.eclipse.egf.model.impl
Class NamedModelElementWithIdImpl

java.lang.Object
  extended by MinimalEObjectImpl.Container
      extended by org.eclipse.egf.model.internal.data.ModelElement
          extended by org.eclipse.egf.model.impl.NamedModelElementWithIdImpl
All Implemented Interfaces:
NamedModelElementWithId
Direct Known Subclasses:
AbstractFactoryComponentFactoryImpl, AbstractPatternElementImpl, AbstractViewpointImpl, ContextElementImpl, ContextImpl, ContractElementImpl, ContractElementReferenceImpl, DomainImpl, FactoryComponentImpl, FactoryImpl, MappingModelImpl, SpecificationImpl, TaskFactoryHolderImpl, TypeImpl

public abstract class NamedModelElementWithIdImpl
extends ModelElement
implements NamedModelElementWithId

An implementation of the model object 'Named Model Element With Id'.

The following features are implemented:


Field Summary
protected  String description
          The cached value of the 'Description' attribute
protected static String DESCRIPTION_EDEFAULT
          The default value of the 'Description' attribute
protected  String id
          The cached value of the 'Id' attribute
protected static String ID_EDEFAULT
          The default value of the 'Id' attribute
protected static String JAVA_IDENTIFIER_EDEFAULT
          The default value of the 'Java Identifier' attribute
protected  String javaIdentifier
          The cached value of the 'Java Identifier' attribute
protected  String name
          The cached value of the 'Name' attribute
protected static String NAME_EDEFAULT
          The default value of the 'Name' attribute
 
Constructor Summary
protected NamedModelElementWithIdImpl()
           
 
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 getDescription()
           
 String getId()
           
 String getJavaIdentifier()
           
 String getName()
           
 void setDescription(String newDescription)
           
 void setId(String newId)
           
 void setName(String newName)
           
 String toString()
           
 
Methods inherited from class org.eclipse.egf.model.internal.data.ModelElement
addPropertyChangeListener, generateId, getAdapter, getFactoryComponentLoadingHelper, getFactoryComponentReader, removePropertyChangeListener, setAdapter, setFactoryComponentReader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID_EDEFAULT

protected static final String ID_EDEFAULT
The default value of the 'Id' attribute.

See Also:
getId()

id

protected String id
The cached value of the 'Id' attribute.

See Also:
getId()

JAVA_IDENTIFIER_EDEFAULT

protected static final String JAVA_IDENTIFIER_EDEFAULT
The default value of the 'Java Identifier' attribute.

See Also:
getJavaIdentifier()

javaIdentifier

protected String javaIdentifier
The cached value of the 'Java Identifier' attribute.

See Also:
getJavaIdentifier()

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()

DESCRIPTION_EDEFAULT

protected static final String DESCRIPTION_EDEFAULT
The default value of the 'Description' attribute.

See Also:
getDescription()

description

protected String description
The cached value of the 'Description' attribute.

See Also:
getDescription()
Constructor Detail

NamedModelElementWithIdImpl

protected NamedModelElementWithIdImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getId

public String getId()

Specified by:
getId in interface NamedModelElementWithId
Specified by:
getId in class ModelElement
Returns:
the value of the 'Id' attribute.
See Also:
NamedModelElementWithId.setId(String), ModelPackage.getNamedModelElementWithId_Id()

setId

public void setId(String newId)

Specified by:
setId in interface NamedModelElementWithId
Specified by:
setId in class ModelElement
Parameters:
newId - the new value of the 'Id' attribute.
See Also:
NamedModelElementWithId.getId()

getJavaIdentifier

public String getJavaIdentifier()

Specified by:
getJavaIdentifier in interface NamedModelElementWithId
Returns:
the value of the 'Java Identifier' attribute.
See Also:
ModelPackage.getNamedModelElementWithId_JavaIdentifier()

getName

public String getName()

Specified by:
getName in interface NamedModelElementWithId
Specified by:
getName in class ModelElement
Returns:
the value of the 'Name' attribute.
See Also:
NamedModelElementWithId.setName(String), ModelPackage.getNamedModelElementWithId_Name()

setName

public void setName(String newName)

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

getDescription

public String getDescription()

Specified by:
getDescription in interface NamedModelElementWithId
Returns:
the value of the 'Description' attribute.
See Also:
NamedModelElementWithId.setDescription(String), ModelPackage.getNamedModelElementWithId_Description()

setDescription

public void setDescription(String newDescription)

Specified by:
setDescription in interface NamedModelElementWithId
Parameters:
newDescription - the new value of the 'Description' attribute.
See Also:
NamedModelElementWithId.getDescription()

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()


EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.