Package com.piketec.tpt.api
Interface NamedObject
-
- All Superinterfaces:
java.rmi.Remote
,TptRemote
- All Known Subinterfaces:
Assessment
,AssessmentGroup
,AssessmentOrGroup
,AssessmentVariable
,CCodePlatformConfiguration
,Channel
,Constant
,Declaration
,DiagramNode
,DiagramScenario
,ExecutionConfiguration
,ExecutionConfigurationGroup
,ExecutionConfigurationOrGroup
,Final
,Junction
,Mapping
,Measurement
,Parameter
,PlatformConfiguration
,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-2020 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()
void
setName(java.lang.String newName)
Set a new name for the object.
-
-
-
Method Detail
-
getName
java.lang.String getName() throws java.rmi.RemoteException
- Returns:
- the current name for the object.
- Throws:
java.rmi.RemoteException
- remote communication error
-
setName
void setName(java.lang.String newName) throws ApiException, java.rmi.RemoteException
Set a new name for the object.- Parameters:
newName
- the new name- Throws:
ApiException
- ifnewName
is not a legal name.java.rmi.RemoteException
- remote communication error
-
-