com.change_vision.jude.api.inf.model
Interface IValueType

com.change_vision.jude.api.inf.model.IValueType
All Superinterfaces:
IClass, IElement, IEntity, IHyperlinkOwner, INamedElement
All Implemented Interfaces:
IClass, IElement, IEntity, IHyperlinkOwner, INamedElement

public abstract IValueType
extends IClass

Interface for ValueTypes.

Since:
sysml 1.1

Field Summary
 
Fields inherited from class com.change_vision.jude.api.inf.model.INamedElement
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY
 
Method Summary
abstract  IValueTypeProperty[] getProperties()
          Get properties.
abstract  IQuantityKind getQuantityKind()
          Get QuantityKind.
abstract  IUnit getUnit()
          Get unit.
abstract  void setQuantityKind(IQuantityKind quantityKind)
          Set quantityKind.
abstract  void setUnit(IUnit unit)
          Set unit.
 
Methods inherited from class com.change_vision.jude.api.inf.model.IClass
getAttributes, getGeneralizations, getNestedClasses, getOperations, getPorts, getSpecializations, getTemplateBindings, getTemplateParameters, isAbstract, isActive, isLeaf, isPrimitiveType, setAbstract, setActive, setLeaf
 
Methods inherited from class com.change_vision.jude.api.inf.model.INamedElement
getAlias1, getAlias2, getClientDependencies, getClientRealizations, getClientUsages, getConstraints, getDefinition, getDiagrams, getFullName, getFullNamespace, getName, getSupplierDependencies, getSupplierRealizations, getSupplierUsages, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility, setAlias1, setAlias2, setDefinition, setName, setVisibility
 
Methods inherited from class com.change_vision.jude.api.inf.model.IElement
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValue, getTaggedValues, getTypeModifier, hasStereotype, isReadOnly, removeStereotype, setTypeModifier
 
Methods inherited from class com.change_vision.jude.api.inf.model.IHyperlinkOwner
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinks
 

Method Detail

getUnit

abstract IUnit getUnit()
Get unit.

Returns:
Unit. Return null in case no unit is set.
Since:
sysml 1.1

setUnit

abstract void setUnit(IUnit unit)
Set unit.

Parameters:
unit - unit
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys:
       ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community.
       PARAMETER_ERROR_KEY - if a parameter is not set properly.
       BAD_TRANSACTION_KEY - Bad Transaction.
       HAS_EXCEPTION_KEY - if an exception has occurred.
       READ_ONLY_KEY - if a read-only element is edited.
Values:
       Error messages for exceptions.

getQuantityKind

abstract IQuantityKind getQuantityKind()
Get QuantityKind.

Returns:
QuantityKind property. Return null in case no QuantityKind is set.
Since:
sysml 1.1

setQuantityKind

abstract void setQuantityKind(IQuantityKind quantityKind)
Set quantityKind.

Parameters:
quantityKind - quantityKind
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys:
       ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community.
       PARAMETER_ERROR_KEY - if a parameter is not set properly.
       BAD_TRANSACTION_KEY - Bad Transaction.
       HAS_EXCEPTION_KEY - if an exception has occurred.
       READ_ONLY_KEY - if a read-only element is edited.
Values:
       Error messages for exceptions.

getProperties

abstract IValueTypeProperty[] getProperties()
Get properties.

Returns:
the array of properties, Return the empty array in case there is none.
Since:
sysml 1.1