Interface ISupportsAccessModifier
- All Known Implementing Classes:
CacheThing,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.JSONObjectThe method returns JSONObject foraccessModifieraspect.default StringThe method returns value of Scope of accessModifier aspect.default org.json.JSONArrayThe method returns exemptList JSONArray forRESTRICTEDaccessModifier.default booleandefault booleanThe method returns true if the scope isINTERNALfor accessModifier aspect.default booleanThe method returns true if the scope isPRIVATEfor accessModifier aspect.default booleanThe method returns true if the scope isRESTRICTEDfor accessModifier aspect.
-
Method Details
-
getAccessModifier
The method returns JSONObject for
accessModifieraspect. IfaccessModifieris 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
accessModifieris 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
PRIVATEfor 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
RESTRICTEDfor 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
INTERNALfor accessModifier aspect. It will return false otherwise.- Returns:
- true if the scope is INTERNAL else returns false.
-
getExemptList
The method returns exemptList JSONArray for
RESTRICTEDaccessModifier. It will returnnullin case of other accessModifier scope values.- Returns:
- JSONArray exemptList for accessModifier aspect.
-