org.eclipse.weaver.core.data
Class WovenModelDescriptor

java.lang.Object
  extended by org.eclipse.weaver.core.data.WovenModelDescriptor

public class WovenModelDescriptor
extends java.lang.Object

This class contents data configuration of the model/metamodel

Since:
1.0
Author:
- Marcos Didonet Del Fabro (LINA Labs, INRIA team)
- Guillaume Gueltas (Sodifrance)

Constructor Summary
WovenModelDescriptor()
           
 
Method Summary
 java.lang.String getId()
          Returns the id of the descriptor
 java.lang.String getMetamodelFile()
          Returns the metamodel file path
 java.lang.String getModelFile()
          Returns the model file path
 java.lang.String getNameProperty()
           
 java.lang.String getPanel()
          Returns the woven panel extension id
 java.lang.String getReferenceName()
          Returns the name of the model/metamodel
 org.eclipse.emf.common.util.URI getURI()
          returns the URI of the given model or metamodel
 java.lang.String getWModelRef()
           
 boolean isModelExists()
          Return true if we work with models, false if we work with metamodels
 void setId(java.lang.String id)
          Sets the id of the descriptor
 void setMetamodelFile(java.lang.String metamodelFile)
          Sets the metamodel file path
 void setModelFile(java.lang.String file)
          Sets the model file path
 void setNameProperty(java.lang.String title)
           
 void setPanel(java.lang.String panel)
          Set the woven panel extension id
 void setReferenceName(java.lang.String name)
          Set the model/metamodel name
 void setWModelRef(java.lang.String modelRef)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WovenModelDescriptor

public WovenModelDescriptor()
Method Detail

isModelExists

public boolean isModelExists()
Return true if we work with models, false if we work with metamodels

Returns:
true or false

getModelFile

public java.lang.String getModelFile()
Returns the model file path

Returns:
Returns the modelfile.

setModelFile

public void setModelFile(java.lang.String file)
Sets the model file path

Parameters:
modelfile - The modelfile to set.

getMetamodelFile

public java.lang.String getMetamodelFile()
Returns the metamodel file path

Returns:
Returns the metamodelFile.

setMetamodelFile

public void setMetamodelFile(java.lang.String metamodelFile)
Sets the metamodel file path

Parameters:
metamodelFile - The metamodelFile to set.

getId

public java.lang.String getId()
Returns the id of the descriptor

Returns:
Returns the id.

setId

public void setId(java.lang.String id)
Sets the id of the descriptor

Parameters:
id - The id to set.

getReferenceName

public java.lang.String getReferenceName()
Returns the name of the model/metamodel

Returns:
Returns the name.

setReferenceName

public void setReferenceName(java.lang.String name)
Set the model/metamodel name

Parameters:
name - The name to set.

getPanel

public java.lang.String getPanel()
Returns the woven panel extension id

Returns:
Returns the panel.

setPanel

public void setPanel(java.lang.String panel)
Set the woven panel extension id

Parameters:
panel - The panel to set.

getWModelRef

public java.lang.String getWModelRef()
Returns:
Returns the wModelRef.

setWModelRef

public void setWModelRef(java.lang.String modelRef)
Parameters:
modelRef - The wModelRef to set.

getNameProperty

public java.lang.String getNameProperty()
Returns:
Returns the woven model name.

setNameProperty

public void setNameProperty(java.lang.String title)
Parameters:
title - The title to set.

getURI

public org.eclipse.emf.common.util.URI getURI()
returns the URI of the given model or metamodel

Returns: