public class UserProperty
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
UserProperty(java.lang.String scope,
java.lang.String name,
java.lang.String value)
Initializes a new
UserProperty. |
UserProperty(java.lang.String scope,
java.lang.String name,
java.lang.String value,
java.util.Map<java.lang.String,java.lang.String> metadata)
Initializes a new
UserProperty. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata()
Gets the metadata
|
java.lang.String |
getName()
Gets the name
|
java.lang.String |
getScope()
Gets the scope
|
java.lang.String |
getValue()
Gets the value
|
java.lang.String |
toString()
Returns the state in pattern: "property-name: property-value; Scope: property-scope"
|
public UserProperty(java.lang.String scope,
java.lang.String name,
java.lang.String value)
UserProperty.scope - The scopename - The name of the propertyvalue - The value of the propertypublic UserProperty(java.lang.String scope,
java.lang.String name,
java.lang.String value,
java.util.Map<java.lang.String,java.lang.String> metadata)
UserProperty.scope - The scopename - The namevalue - The valuemetadata - The metadatapublic java.lang.String getScope()
public java.lang.String getName()
public java.lang.String getValue()
public java.util.Map<java.lang.String,java.lang.String> getMetadata()
public java.lang.String toString()
toString in class java.lang.Object