Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.model
Interface ServiceCategory

All Superinterfaces:
ModelObject, XMLObject

public interface ServiceCategory
extends ModelObject

A Service Category is a collection of Services.


Field Summary
static int TYPEID
          The type id of this class.
static java.lang.String TYPENAME
          The constant class type identifier.

 

Method Summary
 void addService(Service service)
          Add one Service.
 void addServices(Service[] services)
          Add a set of Services
 java.lang.String getDescription()
           
 Service[] getServices()
           
 void removeService(Service service)
          Remove a Service from the Service Category
 void removeServices(Service[] services)
          Remove a set of services from this Service Category.
 void setDescription(java.lang.String description)
           

 

Methods inherited from interface oracle.panama.model.ModelObject
delete, getCreatedDate, getId, getLastModifiedDate, getName, getTypeId, getTypeName, isSystem, setName, setSystem, undoAll

 

Methods inherited from interface oracle.panama.model.XMLObject
setXML, toXML

 

Field Detail

TYPENAME

public static final java.lang.String TYPENAME
The constant class type identifier.
See Also:
Constant Field Values

TYPEID

public static final int TYPEID
The type id of this class.
See Also:
Constant Field Values
Method Detail

getDescription

public java.lang.String getDescription()
Returns:
the description or null if not set.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - the description text.

addService

public void addService(Service service)
Add one Service.
Parameters:
service - a non null service

addServices

public void addServices(Service[] services)
Add a set of Services
Parameters:
services - an array of Services.

removeService

public void removeService(Service service)
Remove a Service from the Service Category
Parameters:
service - the service.

removeServices

public void removeServices(Service[] services)
Remove a set of services from this Service Category.
Parameters:
services - an array of Services

getServices

public Service[] getServices()
Returns:
an array of services belonging to this service category

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.