Modifier and Type | Method | Description |
---|---|---|
default int |
countInterfaces() |
|
int |
countInterfaces(String filter) |
|
default int |
countLocations() |
|
int |
countLocations(String filter) |
|
default int |
countServices() |
|
int |
countServices(String filter) |
|
Location |
getCurrentLocation() |
The current location.
|
Interface |
getInterface(int index) |
|
Interface |
getInterface(Id id) |
|
default Interface[] |
getInterfaces() |
|
Interface[] |
getInterfaces(String filter) |
|
Location |
getLocation(int index) |
|
Location |
getLocation(Id id) |
|
default Location[] |
getLocations() |
|
Location[] |
getLocations(String filter) |
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
Service |
getService(int index) |
|
Service |
getService(Id id) |
|
default Service[] |
getServices() |
|
Service[] |
getServices(String filter) |
|
void |
setCurrentLocation(Location currentLocation) |
The current location.
|
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Kind("element") @Type("interface") default Interface[] getInterfaces()
Interface
s@Kind("element") @Type("interface") Interface[] getInterfaces(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Interface
s@Kind("element") @Type("interface") Interface getInterface(int index)
index
- index into the element list (zero-based)Interface
at the requested index@Kind("element") @Type("interface") Interface getInterface(Id id)
id
- id of the itemInterface
with the requested id@Kind("element") @Type("interface") default int countInterfaces()
Interface
s@Kind("element") @Type("interface") int countInterfaces(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("location") default Location[] getLocations()
Location
s@Kind("element") @Type("location") Location[] getLocations(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Location
s@Kind("element") @Type("location") Location getLocation(int index)
index
- index into the element list (zero-based)Location
at the requested index@Kind("element") @Type("location") Location getLocation(Id id)
id
- id of the itemLocation
with the requested id@Kind("element") @Type("location") default int countLocations()
Location
s@Kind("element") @Type("location") int countLocations(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("service") default Service[] getServices()
Service
s@Kind("element") @Type("service") Service[] getServices(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Service
s@Kind("element") @Type("service") Service getService(int index)
index
- index into the element list (zero-based)Service
at the requested index@Kind("element") @Type("service") Service getService(Id id)
id
- id of the itemService
with the requested id@Kind("element") @Type("service") default int countServices()
Service
s@Kind("element") @Type("service") int countServices(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("locc") @Kind("property") @Name("current location") @Type("location") Location getCurrentLocation()
@Code("locc") @Kind("property") @Name("current location") @Type("location") void setCurrentLocation(Location currentLocation)
currentLocation
- new property value