Method | Description | |
---|---|---|
Get ( Object source ) : Object |
This is used to get the specified value on the provided object. The value returned from this method will be an instance of the contact class type. If the returned object is of a different type then the serialization process will fail.
|
|
IsReadOnly ( ) : bool |
This is used to determine if the annotated contact is for a read only variable. A read only variable is a field that can be set from within the constructor such as a blank readonly variable. It can also be a method with no set counterpart.
|
|
MethodContact ( MethodPart get ) : System |
Constructor for the
|
|
MethodContact ( MethodPart get, MethodPart set ) : System |
Constructor for the
|
|
Set ( Object source, Object value ) : void | ||
ToString ( ) : String |
This is used to describe the contact as it exists within the owning class. It is used to provide error messages that can be used to debug issues that occur when processing a contact. The string provided contains both the set and get methods.
|
Method | Description | |
---|---|---|
getAnnotation ( Class |
public Get ( Object source ) : Object | ||
source | Object | /// this is the object to acquire the value from /// |
return | Object |
public MethodContact ( MethodPart get ) : System | ||
get | MethodPart | /// this forms the get method for the object /// |
return | System |
public MethodContact ( MethodPart get, MethodPart set ) : System | ||
get | MethodPart | /// this forms the get method for the object /// |
set | MethodPart | /// this forms the get method for the object /// |
return | System |
public Set ( Object source, Object value ) : void | ||
source | Object | /// this is the object to set the value on /// |
value | Object | /// this is the value that is to be set on the object /// |
return | void |