public final class LocationProperties extends java.lang.Object implements InternalDataContainer, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static LocationProperties |
DEFAULT_PROPS |
static long |
serialVersionUID |
Constructor and Description |
---|
LocationProperties() |
LocationProperties(LocationData xml) |
LocationProperties(java.lang.String description, java.lang.Boolean immutable)
Internal use only.
|
Modifier and Type | Method and Description |
---|---|
void |
assertNoSystemPropertySet()
Checks whether any system (internal) property is set.
|
java.lang.String |
getDescription() |
java.lang.Boolean |
getImmutable() |
static LocationProperties |
mergeProperties(LocationProperties p1, LocationProperties p2)
Merges two sets of properties, in which the ordering is significant.
|
void |
removeInternalData(Sanitizer s) |
void |
setDescription(java.lang.String description) |
void |
setImmutable(java.lang.Boolean immutable) |
LocationData |
toLocationData()
returns the xml representation of location properties
|
void |
unsetSystemPropertes()
Removes system properties (makes them null)
|
public static final long serialVersionUID
public static final LocationProperties DEFAULT_PROPS
public LocationProperties(java.lang.String description, java.lang.Boolean immutable)
description
- the descriptionimmutable
- true if the project cannot be deleted, moved, or changed in any other way.public LocationProperties()
public LocationProperties(LocationData xml)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.Boolean getImmutable()
public void setImmutable(java.lang.Boolean immutable)
public LocationData toLocationData()
public void assertNoSystemPropertySet()
IllegalArgumentException
public void unsetSystemPropertes()
public void removeInternalData(Sanitizer s)
removeInternalData
in interface InternalDataContainer
public static LocationProperties mergeProperties(LocationProperties p1, LocationProperties p2)
p1
-p2
-