|
Member
|
clone()
public zero.resource.Member clone()
-
Clones the Member
-
- Returns:
-
a new Member based on values from this Member instance
|
|
void
|
copy(Member other)
|
|
Object
|
getProperty(String name)
public java.lang.Object getProperty(java.lang.String name)
-
Accessor method to retrieve the value of a given property.
-
- Parameters:
-
name - the property name
- Returns:
-
the value of the property
- Throws:
-
groovy.lang.MissingPropertyException if the property doesn't exist on this Member instance
|
|
Type
|
getType()
public zero.resource.Type getType()
-
Accessor to the Type metadata
-
- Returns:
-
the Type representing this Member instance
|
|
Map<String,Object>
|
getValues()
public java.util.Map<java.lang.String,java.lang.Object> getValues()
-
Accessor to the values of the Member instance
-
- Returns:
-
the Map of values
|
|
Object
|
propertyMissing(String name)
public java.lang.Object propertyMissing(java.lang.String name)
-
Groovy get accessor method for last resort
-
- Parameters:
-
name - the property name
- Returns:
-
the value of the property
- Throws:
-
groovy.lang.MissingPropertyException if the property doesn't exist on this Member instance
|
|
void
|
propertyMissing(String name, Object value)
public void propertyMissing(java.lang.String name,
java.lang.Object value)
-
Groovy set accessor method for last resort
-
- Parameters:
-
name - the property name
-
value - the property value to set
- Throws:
-
groovy.lang.MissingPropertyException if the property doesn't exist on this Member instance
|
|
void
|
setProperties(Map<String,Object> kwargs, boolean clean_data)
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> kwargs,
boolean clean_data)
|
|
void
|
setProperty(String name, Object value)
public void setProperty(java.lang.String name,
java.lang.Object value)
-
Set accessor method that sets the property value
-
- Parameters:
-
name - the property name
-
value - the property value to set
- Throws:
-
groovy.lang.MissingPropertyException if the property doesn't exist on this Member instance
|
|
Member
|
tagData()
public zero.resource.Member tagData()
-
Future hook for obtaining information for Etags
-
- Returns:
-
this Member instance
|
|
Map<String,Object>
|
toJson()
public java.util.Map<java.lang.String,java.lang.Object> toJson()
-
Creates a Map that can be serialized to JSON
-
- Returns:
-
Map representing serializible values
|
|
String
|
toString()
public java.lang.String toString()
|
|
String
|
toString(Object value)
public java.lang.String toString(java.lang.Object value)
|
|
Map<String,List<String>>
|
validate()
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> validate()
-
Forces all fields on this instance to their proper Java types and then
runs validation on every field.
-
- Returns:
-
a map of {field_name: error_list}
|