Interface ISupportsAccessModifier
- All Known Implementing Classes:
ConfigurationTable
,ConfigurationTableDefinition
,DataShape
,DataTableThing
,DataThing
,DataThingWithEvents
,FileRepositoryThing
,LocalizationTable
,LogRetrievalStrategy
,MediaEntity
,Menu
,Network
,NotificationHandler
,PropertyDefinition
,RemoteThing
,RemoteThingWithFileTransfer
,RemoteThingWithTunnels
,RemoteThingWithTunnelsAndFileTransfer
,ReportingStrategy
,SecurityMonitorThing
,ServiceDefinition
,StreamThing
,Thing
,ThingShape
,ThingTemplate
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.json.JSONObject
default String
default org.json.JSONArray
default boolean
default boolean
default boolean
default boolean
-
Method Details
-
getAccessModifier
The method returns JSONObject for
accessModifier
aspect. IfaccessModifier
is empty or not set, then it will return null.- Returns:
- JSONObject for accessModifier aspect.
-
hasAccessModifier
-
getAccessModifierScope
The method returns value of Scope of accessModifier aspect. If
accessModifier
is empty or not set, then it will return null.- Returns:
- String scope value of accessModifier aspect.
-
isPrivateAccess
The method returns true if the scope is
PRIVATE
for accessModifier aspect. It will return false otherwise.- Returns:
- true if the scope is PRIVATE else returns false.
-
isRestrictedAccess
The method returns true if the scope is
RESTRICTED
for accessModifier aspect. It will return false otherwise.- Returns:
- true if the scope is RESTRICTED else returns false.
-
isInternalAccess
The method returns true if the scope is
INTERNAL
for accessModifier aspect. It will return false otherwise.- Returns:
- true if the scope is INTERNAL else returns false.
-
getExemptList
The method returns exemptList JSONArray for
RESTRICTED
accessModifier. It will returnnull
in case of other accessModifier scope values.- Returns:
- JSONArray exemptList for accessModifier aspect.
-