public interface Property
| Modifier and Type | Method and Description |
|---|---|
Property |
copy()
Create a copy of this property.
|
java.lang.String |
getURN()
Get the urn of this property.
|
java.lang.Object |
getValue()
Get the value of this property.
|
boolean |
isDefined()
Does this property have a defined value?
|
void |
read(java.io.InputStream in)
Read this property from a stream.
|
void |
takeValue(Property other)
Take on the value of another property.
|
void |
undefine()
Undefine the value of this property.
|
void |
write(java.io.OutputStream out)
Write this property to a stream.
|
java.lang.String getURN()
boolean isDefined()
void undefine()
isDefined() will return false.void takeValue(Property other)
other - The other property to inspect.java.lang.IllegalArgumentException - If the other property is the wrong type.void write(java.io.OutputStream out)
throws java.io.IOException
out - The stream to write to.java.io.IOException - If the write fails.void read(java.io.InputStream in) throws java.io.IOException
in - The stream to read from.java.io.IOException - If the read fails.java.lang.Object getValue()
Property copy()