Modifier and Type | Method | Description |
---|---|---|
default int |
countServices() |
|
int |
countServices(String filter) |
|
String |
getId() |
The unique identifier for the location.
|
String |
getName() |
The name of the location.
|
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 |
setName(String name) |
The name of the location.
|
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@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("ID ") @Kind("property") @Name("id") @Type("text") String getId()
@Code("pnam") @Kind("property") @Name("name") @Type("text") String getName()
@Code("pnam") @Kind("property") @Name("name") @Type("text") void setName(String name)
name
- new property value