MetaBoss

com.metaboss.sdlctools.models.metabossmodel
Interface ModelElementConstraint

All Superinterfaces:
ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject

public interface ModelElementConstraint
extends ModelElement

ModelElementConstraint object instance interface.


Method Summary
 ModelElement getContextElement()
          Returns the model element which is a context for this constraint.
 java.lang.String getDefaultErrorText()
          Returns the value of attribute DefaultErrorText.
 Entity getEntityOwner()
          Returns the value of reference entityOwner.
 java.lang.String getOclExpression()
          Returns the value of attribute OclExpression.
 AbstractOperation getOperationOwner()
          Returns the value of reference operationOwner.
 Structure getStructureOwner()
          Returns the value of reference structureOwner.
 void setDefaultErrorText(java.lang.String newValue)
          Sets the value of DefaultErrorText attribute.
 void setEntityOwner(Entity newValue)
          Sets the value of reference entityOwner.
 void setOclExpression(java.lang.String newValue)
          Sets the value of OclExpression attribute.
 void setOperationOwner(AbstractOperation newValue)
          Sets the value of reference operationOwner.
 void setStructureOwner(Structure newValue)
          Sets the value of reference structureOwner.
 
Methods inherited from interface com.metaboss.sdlctools.models.metabossmodel.ModelElement
findAttachment, getAttachment, getAttachments, getCombinedContents, getContents, getDescription, getDiagramModelElements, getName, getOwnerIdentifier, getRef, getReferencedElements, getTags, isContainedWithin, isDerived, mayContain, mayContainWithin, setDescription, setName, setOwnerIdentifier
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getContextElement

public ModelElement getContextElement()
Returns the model element which is a context for this constraint.

Returns:
Returns the model element which is a context for this constraint.

getOclExpression

public java.lang.String getOclExpression()
Returns the value of attribute OclExpression.

Returns:
Value of attribute OclExpression.

setOclExpression

public void setOclExpression(java.lang.String newValue)
Sets the value of OclExpression attribute. See getOclExpression() for description on the attribute.

Parameters:
newValue - New value to be set.

getDefaultErrorText

public java.lang.String getDefaultErrorText()
Returns the value of attribute DefaultErrorText.

Returns:
Value of attribute DefaultErrorText.

setDefaultErrorText

public void setDefaultErrorText(java.lang.String newValue)
Sets the value of DefaultErrorText attribute. See getDefaultErrorText() for description on the attribute.

Parameters:
newValue - New value to be set.

getStructureOwner

public Structure getStructureOwner()
Returns the value of reference structureOwner.

Returns:
Value of reference structureOwner.

setStructureOwner

public void setStructureOwner(Structure newValue)
Sets the value of reference structureOwner. See getStructureOwner() for description on the reference.

Parameters:
newValue - New value to be set.

getEntityOwner

public Entity getEntityOwner()
Returns the value of reference entityOwner.

Returns:
Value of reference entityOwner.

setEntityOwner

public void setEntityOwner(Entity newValue)
Sets the value of reference entityOwner. See getEntityOwner() for description on the reference.

Parameters:
newValue - New value to be set.

getOperationOwner

public AbstractOperation getOperationOwner()
Returns the value of reference operationOwner.

Returns:
Value of reference operationOwner.

setOperationOwner

public void setOperationOwner(AbstractOperation newValue)
Sets the value of reference operationOwner. See getOperationOwner() for description on the reference.

Parameters:
newValue - New value to be set.

MetaBoss

Copyright © 2000-2005 Softaris Pty.Ltd. All Rights Reserved.