|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.ghn.service.context.Properties
public class Properties
A collection of uniquely named Properties.
| Constructor Summary | |
|---|---|
Properties()
|
|
Properties(Properties parent)
|
|
| Method Summary | |
|---|---|
void |
add(Property... properties)
Adds one or more properties to this collection. |
boolean |
contains(String name)
Returns true if this collection contains a given property. |
void |
delete(String name)
Removes a given property. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
boolean |
isEmpty()
Returns true if this collection has no properties. |
Iterator<Property> |
iterator()
|
Property |
lookup(String name)
Returns a given property in this collection. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Properties(Properties parent)
public Properties()
| Method Detail |
|---|
public Iterator<Property> iterator()
iterator in interface Iterable<Property>public void add(Property... properties)
properties - the propertiespublic boolean contains(String name)
true if this collection contains a given property.
name - the name of the property
true if this collection contains a property with the given namepublic void delete(String name)
name - the name of the property
IllegalStateException - if a property with the given name does not exist in this collectionpublic Property lookup(String name)
name - the name of the property
IllegalStateException - if a property with a given name does not exist in this collectionpublic boolean isEmpty()
true if this collection has no properties.
true if this collection has no propertiespublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||