Interface MEReferenceContainerAble
- All Known Subinterfaces:
CLComponent,DBPackage,MEConfigurationManagement,MEHierarchyAble,MEMappingConfigurationPackage,MEMappingConfigurationPackageForward,MEMappingConfigurationPackageReverse,MEMappingPackageContent,MEMappingPackageType,MEMappingPackageTypeForward,MEMappingPackageTypeReverse,MEModel,MEPackage,MEStubPackage,MEStubPackageBase,MEStubPackageExternalModel,MEStubPackageInnovator,MESystemModel,MESystemModelManagement
This is a utility class for MEReferenceContainerAble that provides static methods for creation or other purposes.
- See Also:
- Note:
- The interface MEReferenceContainerAble describes an abstract ability of an object. Therefore no instances of this type can be found in the repository!
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReferences(List<? extends ELElement> seq) Adds references to the specified list of referenceable elements to this hierarchical element.<T extends ADReferenceAble>
List<T> getReferenceAble(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) All referenced elements of this hierarchical element.voidSubtracts the references to the specified list of referenceable elements from the list of reference containers and adds new references to elements of the list at this reference container.voidsetReferenceAble(List<? extends ADReferenceAble> values) Set the value of Foreign Key ReferenceAble.voidsubtractReferences(List<? extends ELElement> seq) Subtracts the references to the specified list of referenceable elements from this reference container.Methods inherited from interface de.mid.innovator.srv2api.icw2elem.ELElement
duplicateElement, getAssignAbleToVattr, getAssignAbleToVattr, getClientId, getCreateTemplateOfInstance, getDisplayBitmap, getDisplayColor, getDisplayFont, getDisplayLine, getDisplayName, getDisplayNameShort, getDisplayNSName, getElementCache, getElementMappingInformation, getNotificationElement, getQualifiedNamespaceName, getRelshipBinDir, getRelshipBinDir, getRelshipBinDirTarget, getUnitToLock, getValSpecElement, isContainedInProfile, isUnresolved, lockUnit, setUnresolved, unlockUnitMethods inherited from interface de.mid.innovator.srv2api.icw2elem.ELObject
getId, getLongId, getMetaClass, getMetaName, getOclClass, getSrvCon, hasRead
-
Method Details
-
addReferences
Adds references to the specified list of referenceable elements to this hierarchical element.- Parameters:
seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-
moveReferences
void moveReferences(List<ARG_RefContainerElementList> seq) throws InoNetException, SrvErrorException Subtracts the references to the specified list of referenceable elements from the list of reference containers and adds new references to elements of the list at this reference container.- Parameters:
seq- list of reference container and referenced elements- Throws:
InoNetExceptionSrvErrorException
-
subtractReferences
Subtracts the references to the specified list of referenceable elements from this reference container.- Parameters:
seq- List of ELElement- Throws:
InoNetExceptionSrvErrorException
-
getReferenceAble
<T extends ADReferenceAble> List<T> getReferenceAble(Class<T> returnType, K_CONTROL_OPTION... behaviourFlags) throws InoNetException, SrvErrorException All referenced elements of this hierarchical element.- Parameters:
returnType- Specifies the type of elements to be returned.behaviourFlags- An optional list of enum values to control the behaviour of the command.- Throws:
InoNetExceptionSrvErrorException- Sorted:
- the result may be sorted.
-
setReferenceAble
void setReferenceAble(List<? extends ADReferenceAble> values) throws InoNetException, SrvErrorException Set the value of Foreign Key ReferenceAble.- Parameters:
values- The value to be set.- Throws:
InoNetExceptionSrvErrorException
-