com.telelogic.rhapsody.core
Interface IRPType

All Superinterfaces:
IRPClassifier, IRPModelElement, IRPUnit

public interface IRPType
extends IRPClassifier


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.telelogic.rhapsody.core.IRPModelElement
IRPModelElement.OSLCLink
 
Method Summary
 IRPEnumerationLiteral addEnumerationLiteral(java.lang.String name)
          method addEnumerationLiteral
 void deleteEnumerationLiteral(IRPEnumerationLiteral literal)
          method deleteEnumerationLiteral
 java.lang.String getDeclaration()
          get property declaration
 IRPCollection getEnumerationLiterals()
          get property enumerationLiterals
 int getIsPredefined()
          get property isPredefined
 int getIsTypedef()
          get property isTypedef
 int getIsTypedefConstant()
          get property isTypedefConstant
 int getIsTypedefOrdered()
          get property isTypedefOrdered
 int getIsTypedefReference()
          get property isTypedefReference
 java.lang.String getKind()
          get property kind
 IRPClassifier getTypedefBaseType()
          get property typedefBaseType
 java.lang.String getTypedefMultiplicity()
          get property typedefMultiplicity
 int isArray()
          method isArray
 int isEnum()
          For types whose "kind" was set to Language, parses the declaration to see if the type is actually an enum.
 int isEqualTo()
          method isEqualTo
 int isImplicit()
          method isImplicit
 int isKindEnumeration()
          Checks whether the "kind" of the type is Enumeration.
 int isKindLanguage()
          Checks whether the "kind" of the type was set to Language.
 int isKindStruct()
          Checks whether the "kind" of the type is Structure.
 int isKindTypedef()
          Checks whether the "kind" of the type is Typedef.
 int isKindUnion()
          Checks whether the "kind" of the type is Union.
 int isPointer()
          method isPointer
 int isPointerToPointer()
          method isPointerToPointer
 int isReference()
          method isReference
 int isReferenceToPointer()
          method isReferenceToPointer
 int isStruct()
          For types whose "kind" was set to Language, parses the declaration to see if the type is actually a struct.
 int isTemplate()
          method isTemplate
 int isUnion()
          For types whose "kind" was set to Language, parses the declaration to see if the type is actually a union.
 void setDeclaration(java.lang.String declaration)
          set property declaration
 void setIsTypedefConstant(int isTypedefConstant)
          set property isTypedefConstant
 void setIsTypedefOrdered(int isTypedefOrdered)
          set property isTypedefOrdered
 void setIsTypedefReference(int isTypedefReference)
          set property isTypedefReference
 void setKind(java.lang.String kind)
          set property kind
 void setTypedefBaseType(IRPClassifier typedefBaseType)
          set property typedefBaseType
 void setTypedefMultiplicity(java.lang.String typedefMultiplicity)
          set property typedefMultiplicity
 
Methods inherited from interface com.telelogic.rhapsody.core.IRPClassifier
addActivityDiagram, addAttribute, addFlowItems, addFlows, addGeneralization, addOperation, addRelation, addRelationTo, addStatechart, addUnidirectionalRelation, addUnidirectionalRelationTo, deleteAttribute, deleteFlowItems, deleteFlows, deleteGeneralization, deleteOperation, deleteRelation, findAttribute, findBaseClassifier, findDerivedClassifier, findGeneralization, findInterfaceItem, findNestedClassifier, findNestedClassifierRecursive, findRelation, findTrigger, getActivityDiagram, getAttributes, getAttributesIncludingBases, getBaseClassifiers, getBehavioralDiagrams, getDerivedClassifiers, getFlowItems, getFlows, getGeneralizations, getInterfaceItems, getInterfaceItemsIncludingBases, getLinks, getNestedClassifiers, getOperations, getPorts, getRelations, getRelationsIncludingBases, getSequenceDiagrams, getSourceArtifacts, getStatechart
 
Methods inherited from interface com.telelogic.rhapsody.core.IRPUnit
copyToAnotherProject, getAddToModelMode, getCMHeader, getCMState, getCurrentDirectory, getFilename, getIncludeInNextLoad, getIsStub, getLanguage, getLastModifiedTime, getNestedSaveUnits, getNestedSaveUnitsCount, getStructureDiagrams, isReadOnly, isReferenceUnit, isSeparateSaveUnit, load, moveToAnotherProjectLeaveAReference, referenceToAnotherProject, save, setCMHeader, setFilename, setIncludeInNextLoad, setLanguage, setReadOnly, setSeparateSaveUnit, setUnitPath, unload
 
Methods inherited from interface com.telelogic.rhapsody.core.IRPModelElement
addAssociation, addDependency, addDependencyBetween, addDependencyTo, addLinkToElement, addNewAggr, addProperty, addRedefines, addRemoteDependencyTo, addSpecificStereotype, addStereotype, becomeTemplateInstantiationOf, changeTo, clone, createOSLCLink, deleteDependency, deleteFromProject, deleteOSLCLink, errorMessage, findElementsByFullName, findNestedElement, findNestedElementRecursive, getAllTags, getAnnotations, getAssociationClasses, getBinaryID, getConstraints, getConstraintsByHim, getControlledFiles, getDecorationStyle, getDependencies, getDescription, getDescriptionHTML, getDescriptionPlainText, getDescriptionRTF, getDisplayName, getDisplayNameRTF, getErrorMessage, getFullPathName, getFullPathNameIn, getGUID, getHyperLinks, getIconFileName, getInterfaceName, getIsExternal, getIsOfMetaClass, getIsShowDisplayName, getIsUnresolved, getLocalTags, getMainDiagram, getMetaClass, getName, getNestedElements, getNestedElementsByMetaClass, getNestedElementsRecursive, getNewTermStereotype, getOfTemplate, getOSLCLinks, getOverlayIconFileName, getOverriddenProperties, getOverriddenPropertiesByPattern, getOwnedDependencies, getOwner, getProject, getPropertyValue, getPropertyValueConditional, getPropertyValueConditionalExplicit, getPropertyValueExplicit, getRedefines, getReferences, getRemoteDependencies, getRemoteURI, getRequirementTraceabilityHandle, getSaveUnit, getStereotype, getStereotypes, getTag, getTemplateParameters, getTi, getToolTipHTML, getUserDefinedMetaClass, hasNestedElements, hasPanelWidget, highLightElement, isATemplate, isDescriptionRTF, isDisplayNameRTF, isModified, isRemote, locateInBrowser, lockOnDesignManager, openFeaturesDialog, removeProperty, removeRedefines, removeStereotype, setDecorationStyle, setDescription, setDescriptionAndHyperlinks, setDescriptionHTML, setDescriptionRTF, setDisplayName, setDisplayNameRTF, setGUID, setIsShowDisplayName, setMainDiagram, setName, setOfTemplate, setOwner, setPropertyValue, setRequirementTraceabilityHandle, setStereotype, setTagContextValue, setTagElementValue, setTagValue, setTi, synchronizeTemplateInstantiation, unlockOnDesignManager
 

Method Detail

addEnumerationLiteral

IRPEnumerationLiteral addEnumerationLiteral(java.lang.String name)
method addEnumerationLiteral

Throws:
RhapsodyRuntimeException

deleteEnumerationLiteral

void deleteEnumerationLiteral(IRPEnumerationLiteral literal)
method deleteEnumerationLiteral

Throws:
RhapsodyRuntimeException

getDeclaration

java.lang.String getDeclaration()
get property declaration

Throws:
RhapsodyRuntimeException

getEnumerationLiterals

IRPCollection getEnumerationLiterals()
get property enumerationLiterals

Throws:
RhapsodyRuntimeException

getIsPredefined

int getIsPredefined()
get property isPredefined

Throws:
RhapsodyRuntimeException

getIsTypedef

int getIsTypedef()
get property isTypedef

Throws:
RhapsodyRuntimeException

getIsTypedefConstant

int getIsTypedefConstant()
get property isTypedefConstant

Throws:
RhapsodyRuntimeException

getIsTypedefOrdered

int getIsTypedefOrdered()
get property isTypedefOrdered

Throws:
RhapsodyRuntimeException

getIsTypedefReference

int getIsTypedefReference()
get property isTypedefReference

Throws:
RhapsodyRuntimeException

getKind

java.lang.String getKind()
get property kind

Throws:
RhapsodyRuntimeException

getTypedefBaseType

IRPClassifier getTypedefBaseType()
get property typedefBaseType

Throws:
RhapsodyRuntimeException

getTypedefMultiplicity

java.lang.String getTypedefMultiplicity()
get property typedefMultiplicity

Throws:
RhapsodyRuntimeException

isArray

int isArray()
method isArray

Throws:
RhapsodyRuntimeException

isEnum

int isEnum()
For types whose "kind" was set to Language, parses the declaration to see if the type is actually an enum.

Returns:
1 if the type is an enum, 0 otherwise
Throws:
RhapsodyRuntimeException

isEqualTo

int isEqualTo()
method isEqualTo

Throws:
RhapsodyRuntimeException

isImplicit

int isImplicit()
method isImplicit

Throws:
RhapsodyRuntimeException

isKindEnumeration

int isKindEnumeration()
Checks whether the "kind" of the type is Enumeration.

Returns:
1 if the "kind" of the type is Enumeration, 0 otherwise
Throws:
RhapsodyRuntimeException

isKindLanguage

int isKindLanguage()
Checks whether the "kind" of the type was set to Language.

Returns:
1 if the "kind" of the type is Language, 0 otherwise
Throws:
RhapsodyRuntimeException

isKindStruct

int isKindStruct()
Checks whether the "kind" of the type is Structure.

Returns:
1 if the "kind" of the type is Structure, 0 otherwise
Throws:
RhapsodyRuntimeException

isKindTypedef

int isKindTypedef()
Checks whether the "kind" of the type is Typedef.

Returns:
1 if the "kind" of the type is Typedef, 0 otherwise
Throws:
RhapsodyRuntimeException

isKindUnion

int isKindUnion()
Checks whether the "kind" of the type is Union.

Returns:
1 if the "kind" of the type is Union, 0 otherwise
Throws:
RhapsodyRuntimeException

isPointer

int isPointer()
method isPointer

Throws:
RhapsodyRuntimeException

isPointerToPointer

int isPointerToPointer()
method isPointerToPointer

Throws:
RhapsodyRuntimeException

isReference

int isReference()
method isReference

Throws:
RhapsodyRuntimeException

isReferenceToPointer

int isReferenceToPointer()
method isReferenceToPointer

Throws:
RhapsodyRuntimeException

isStruct

int isStruct()
For types whose "kind" was set to Language, parses the declaration to see if the type is actually a struct.

Returns:
1 if the type is a struct, 0 otherwise
Throws:
RhapsodyRuntimeException

isTemplate

int isTemplate()
method isTemplate

Throws:
RhapsodyRuntimeException

isUnion

int isUnion()
For types whose "kind" was set to Language, parses the declaration to see if the type is actually a union.

Returns:
1 if the type is a union, 0 otherwise
Throws:
RhapsodyRuntimeException

setDeclaration

void setDeclaration(java.lang.String declaration)
set property declaration

Throws:
RhapsodyRuntimeException

setIsTypedefConstant

void setIsTypedefConstant(int isTypedefConstant)
set property isTypedefConstant

Throws:
RhapsodyRuntimeException

setIsTypedefOrdered

void setIsTypedefOrdered(int isTypedefOrdered)
set property isTypedefOrdered

Throws:
RhapsodyRuntimeException

setIsTypedefReference

void setIsTypedefReference(int isTypedefReference)
set property isTypedefReference

Throws:
RhapsodyRuntimeException

setKind

void setKind(java.lang.String kind)
set property kind

Throws:
RhapsodyRuntimeException

setTypedefBaseType

void setTypedefBaseType(IRPClassifier typedefBaseType)
set property typedefBaseType

Throws:
RhapsodyRuntimeException

setTypedefMultiplicity

void setTypedefMultiplicity(java.lang.String typedefMultiplicity)
set property typedefMultiplicity

Throws:
RhapsodyRuntimeException