Package com.piketec.tpt.api
Interface Constant
-
- All Superinterfaces:
Declaration
,IdentifiableRemote
,NamedObject
,java.rmi.Remote
,TptRemote
public interface Constant extends Declaration
A Constant is a value that stays the same during execution time.- 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 boolean
isSystemConstant()
Get if the constant is a system constant.void
setSystemConstant(boolean on)
Set if the constant is a system constant.-
Methods inherited from interface com.piketec.tpt.api.Declaration
getDefaultValue, getDescription, getGroup, getType, getUnit, getUnitObject, setDefaultValue, setDescription, setGroup, setType, setUnit, setUnit
-
Methods inherited from interface com.piketec.tpt.api.IdentifiableRemote
getIdentifier
-
Methods inherited from interface com.piketec.tpt.api.NamedObject
getName, setName
-
-
-
-
Method Detail
-
isSystemConstant
boolean isSystemConstant() throws java.rmi.RemoteException
Get if the constant is a system constant.- Returns:
true
if the constant is a system constant,false
otherwise.- Throws:
java.rmi.RemoteException
- remote communication problem
-
setSystemConstant
void setSystemConstant(boolean on) throws java.rmi.RemoteException
Set if the constant is a system constant.- Parameters:
on
-true
if the constant should be system constant,false
otherwise.- Throws:
java.rmi.RemoteException
- remote communication problem
-
-