| Constructor and Description |
|---|
PropertyContainer()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
PropertyContainer |
clone()
Return a copy of this object
|
Set<String> |
getAllProperties()
Return a set containing all the property names.
|
String |
getProperty(String name)
Return the value of a specific edge property
|
boolean |
hasProperty(String name)
Return
true if this object has a property with the given
name, false otherwise |
String |
removeProperty(String name)
Remove a specific property
|
void |
setProperty(String name,
String value)
Set the value of a specific edge property.
|
public String getProperty(String name)
name - The name of the propertynull is returned.public void setProperty(String name, String value)
name - The name of the propertyvalue - The value of the propertypublic boolean hasProperty(String name)
true if this object has a property with the given
name, false otherwisename - The name of the propertytrue if this object has a property with the given
name, false otherwisepublic String removeProperty(String name)
name - The name of the property to removenull if no
property with the given name was present.public Set<String> getAllProperties()
getProperty(String name)getProperty(String)public PropertyContainer clone()