Validation

org.topcased.validation.ocl.extension
Class OCLFileDescriptor

java.lang.Object
  extended by org.topcased.validation.ocl.extension.OCLFileDescriptor

public class OCLFileDescriptor
extends java.lang.Object

A descriptor of a link between a metamodel and an OCL file
creation : 17 janv. 2006


Field Summary
static java.lang.String ATT_FILE
           
static java.lang.String ATT_ID
           
static java.lang.String ATT_LEVEL
           
static java.lang.String ATT_URI
           
static java.lang.String ERROR_TEXT
           
static java.lang.String TAG_RULES
           
static java.lang.String WARNING_TEXT
           
 
Constructor Summary
OCLFileDescriptor(org.eclipse.core.runtime.IConfigurationElement element)
          Initialize the descriptor from the XML fragment of the extension
 
Method Summary
 java.lang.String getFile()
           
 java.lang.String getId()
           
 int getLevel()
           
 java.lang.String getURI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WARNING_TEXT

public static final java.lang.String WARNING_TEXT
See Also:
Constant Field Values

ERROR_TEXT

public static final java.lang.String ERROR_TEXT
See Also:
Constant Field Values

TAG_RULES

public static final java.lang.String TAG_RULES
See Also:
Constant Field Values

ATT_ID

public static final java.lang.String ATT_ID
See Also:
Constant Field Values

ATT_FILE

public static final java.lang.String ATT_FILE
See Also:
Constant Field Values

ATT_URI

public static final java.lang.String ATT_URI
See Also:
Constant Field Values

ATT_LEVEL

public static final java.lang.String ATT_LEVEL
See Also:
Constant Field Values
Constructor Detail

OCLFileDescriptor

public OCLFileDescriptor(org.eclipse.core.runtime.IConfigurationElement element)
                  throws org.eclipse.core.runtime.CoreException
Initialize the descriptor from the XML fragment of the extension

Parameters:
element - The XML Fragment that describes the Validator
Throws:
org.eclipse.core.runtime.CoreException - if the xml fragment is not valid
Method Detail

getFile

public java.lang.String getFile()
Returns:
Returns the OCL file path.

getId

public java.lang.String getId()
Returns:
Returns the identifier of this association.

getLevel

public int getLevel()
Returns:
Returns the level of the produced problems.

getURI

public java.lang.String getURI()
Returns:
Returns the metamodel URI.

Validation

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.