Package com.piketec.tpt.api
Interface NamedObject
-
- All Superinterfaces:
java.rmi.Remote
,TptRemote
- All Known Subinterfaces:
Assessment
,AssessmentGroup
,AssessmentOrGroup
,AssessmentVariable
,AutosarPlatformConfiguration
,CCodePlatformConfiguration
,Channel
,Constant
,Declaration
,DiagramNode
,DiagramScenario
,DSpacePiLConfiguration
,ExecutionConfiguration
,ExecutionConfigurationGroup
,ExecutionConfigurationOrGroup
,Final
,Junction
,Mapping
,MatlabPlatformConfiguration
,Measurement
,Parameter
,PlatformConfiguration
,RequirementSet
,Scenario
,ScenarioGroup
,ScenarioOrGroup
,StepListScenario
,Testlet
,TestSet
,TestSetGroup
,TestSetOrGroup
,Transition
,TransitionSpec
,TransitionSpecGroup
,TransitionSpecOrGroup
public interface NamedObject extends TptRemote
This class represent an object with a name.- Author:
- Copyright (c) 2014-2024 Piketec GmbH - MIT License (MIT) - All rights reserved
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Get the current name of this object.void
setName(java.lang.String newName)
Set a new name of this object.
-
-
-
Method Detail
-
getName
java.lang.String getName() throws java.rmi.RemoteException
Get the current name of this object.- Returns:
- the current name of this object.
- Throws:
java.rmi.RemoteException
- remote communication error
-
setName
void setName(java.lang.String newName) throws ApiException, java.rmi.RemoteException
Set a new name of this object.- Parameters:
newName
- the new name- Throws:
ApiException
- ifnewName
is not a legal name.java.rmi.RemoteException
- remote communication error
-
-