C# Class SimpleFramework.Xml.Core.SetPart

The SetPart object represents the setter method for a Java Bean property. This composes the set part of the method contact for an object. The set part contains the method that is used to set the value on an object and the annotation that tells the deserialization process how to deserialize the value.
Inheritance: MethodPart
显示文件 Open project: ngallagher/simplexml

Public Methods

Method Description
SetPart ( MethodName method, Annotation label ) : System

Constructor for the SetPart object. This is used to create a method part that will provide a means for the deserialization process to set a value to a object.

ToString ( ) : String

Private Methods

Method Description
getAnnotation ( Class type ) : T

Method Details

SetPart() public method

Constructor for the SetPart object. This is used to create a method part that will provide a means for the deserialization process to set a value to a object.
public SetPart ( MethodName method, Annotation label ) : System
method MethodName /// the method that is used to set the value ///
label Annotation /// this describes how to deserialize the value ///
return System

ToString() public method

public ToString ( ) : String
return String