public class BasicServiceType extends ServiceType
| Constructor and Description |
|---|
BasicServiceType()
Simple constructor, leaves type field set to null.
|
BasicServiceType(String type)
Simple constructor, sets type field to parameter value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Returns the resource named "name", else the type field stripped of any package prefix (i.e.,
any characters up to and including the last dot ('.').
|
Image |
getIcon(int iconKind)
Returns the resource named "icon.int", else null.
|
String |
getShortDescription()
Returns the resource named "desc", else null.
|
public String type
public BasicServiceType()
public BasicServiceType(String type)
type - type of servicepublic Image getIcon(int iconKind)
getIcon in class ServiceTypeiconKind - the kind of icon to returnpublic String getDisplayName()
getDisplayName in class ServiceTypepublic String getShortDescription()
getShortDescription in class ServiceTypeCopyright © GigaSpaces.