public class Namespace extends Object implements Serializable
| Constructor and Description |
|---|
Namespace() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(Property property)
Adds a property to this Namespace object.
|
String |
getName()
Returns name of this Namespace.
|
Collection<Collection<Property>> |
getProperties()
Gets all namespaces belonging to this namespaces instance.
|
Collection<Property> |
getProperties(String name)
Retrieves the properties with the specified name.
|
Property |
getProperty(String name)
Retrieves the property (the first one found) with the specified name.
|
void |
setName(String name)
Sets the name of this Namespace.
|
String |
toString() |
public Namespace()
public String getName()
public void setName(String name)
name - The name to setpublic void addProperty(Property property)
property - the property to add to this namespace.public Collection<Property> getProperties(String name)
name - the name of the property.public Property getProperty(String name)
name - the name of the property.public Collection<Collection<Property>> getProperties()
public String toString()
toString in class ObjectObject.toString()Copyright © 2003–2014 AndroMDA.org. All rights reserved.