org.topcased.validation.ocl.extension
Class OCLFileDescriptor
java.lang.Object
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
Constructor Summary |
OCLFileDescriptor(org.eclipse.core.runtime.IConfigurationElement element)
Initialize the descriptor from the XML fragment of the extension |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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
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.
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.