public interface IServiceProperties extends Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
getProperty(String name)
Get property as an Object.
|
byte[] |
getPropertyBytes(String name)
Get property name as byte[].
|
Enumeration |
getPropertyNames()
Get property names.
|
String |
getPropertyString(String name)
Get property name as String.
|
int |
hashCode() |
Object |
setProperty(String name,
Object value)
Set property as Object.
|
Object |
setPropertyBytes(String name,
byte[] value)
Set property as byte [].
|
Object |
setPropertyString(String name,
String value)
Set property as String.
|
int |
size() |
Enumeration getPropertyNames()
null
.String getPropertyString(String name)
name
- the name of the property to return. Must not be null
.null
if property does
not exist.byte[] getPropertyBytes(String name)
name
- the name of the property to return. Must not be null
.null
if property does
not exist.Object getProperty(String name)
null
if there is no property by that
name.name
- the name of the property to return. Must not be null
.null
if there is no
property of given name.Object setPropertyString(String name, String value)
name
- the property name of the property. Must not be null
.value
- the property value to associated with the name. Must not be
null
.null
if not previously in properties.Object setPropertyBytes(String name, byte[] value)
name
- the property name of the property. Must not be null.value
- the property value to associated with the name. Must not be
null.Object setProperty(String name, Object value)
name
- the property name of the property. Must not be null.value
- the property value to associated with the name. Must not be
null.boolean equals(Object obj)
equals
in class Object
Object.equals(Object)
int hashCode()
hashCode
in class Object
Object.hashCode()
int size()
Dictionary.size()
Copyright © 2004–2020 Eclipse Foundation. All rights reserved.