org.objectweb.dsrg.sofa.repository.model
Interface VersionedEntity

All Superinterfaces:
org.eclipse.emf.ecore.EObject, NamedEntity, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
Architecture, Aspect, AssemblyDescriptor, CodeBundle, DeploymentPlan, Frame, InterfaceType, MicroComponent, MicroInterfaceType
All Known Implementing Classes:
ArchitectureImpl, AspectImpl, AssemblyDescriptorImpl, CodeBundleImpl, DeploymentPlanImpl, FrameImpl, InterfaceTypeImpl, MicroComponentImpl, MicroInterfaceTypeImpl, VersionedEntityImpl

public interface VersionedEntity
extends NamedEntity

A representation of the model object 'Versioned Entity'.

The following features are supported:

See Also:
ModelPackage.getVersionedEntity()
Generated from the meta-model
Part of the meta-model
abstract="true"

Method Summary
 Info addInfo(java.lang.String name, java.lang.String value)
           
 Info addTag(java.lang.String value)
           
 org.eclipse.emf.common.util.EList<Info> getInfo()
          Returns the value of the 'Info' containment reference list.
 Version getVersion()
          Returns the value of the 'Version' containment reference.
 boolean isLocked()
          Returns the value of the 'Locked' attribute
 Info removeTag(java.lang.String value)
           
 void setLocked(boolean value)
          Sets the value of the 'Locked' attribute
 void setVersion(Version value)
          Sets the value of the 'Version' containment reference
 
Methods inherited from interface org.objectweb.dsrg.sofa.repository.model.NamedEntity
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

isLocked

boolean isLocked()
Returns the value of the 'Locked' attribute.

If the meaning of the 'Locked' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Locked' attribute.
See Also:
setLocked(boolean), ModelPackage.getVersionedEntity_Locked()
Generated from the meta-model
Part of the meta-model

setLocked

void setLocked(boolean value)
Sets the value of the 'Locked' attribute.

Parameters:
value - the new value of the 'Locked' attribute.
See Also:
isLocked()
Generated from the meta-model

getVersion

Version getVersion()
Returns the value of the 'Version' containment reference. It is bidirectional and its opposite is 'Entity'.

If the meaning of the 'Version' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Version' containment reference.
See Also:
setVersion(Version), ModelPackage.getVersionedEntity_Version(), Version.getEntity()
Generated from the meta-model
Part of the meta-model
opposite="entity" containment="true" resolveProxies="true"

setVersion

void setVersion(Version value)
Sets the value of the 'Version' containment reference.

Parameters:
value - the new value of the 'Version' containment reference.
See Also:
getVersion()
Generated from the meta-model

getInfo

org.eclipse.emf.common.util.EList<Info> getInfo()
Returns the value of the 'Info' containment reference list. The list contents are of type Info.

If the meaning of the 'Info' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Info' containment reference list.
See Also:
ModelPackage.getVersionedEntity_Info()
Generated from the meta-model
Part of the meta-model
containment="true" resolveProxies="true"

addInfo

Info addInfo(java.lang.String name,
             java.lang.String value)

Generated from the meta-model
Part of the meta-model
annotation="http://www.eclipse.org/emf/2002/GenModel body='return XVersionedEntityImplMethods.addInfo(this, name, value);'"

addTag

Info addTag(java.lang.String value)

Generated from the meta-model
Part of the meta-model
annotation="http://www.eclipse.org/emf/2002/GenModel body='return XVersionedEntityImplMethods.addTag(this,value);'"

removeTag

Info removeTag(java.lang.String value)

Generated from the meta-model
Part of the meta-model
annotation="http://www.eclipse.org/emf/2002/GenModel body='return XVersionedEntityImplMethods.removeTag(this,value);'"