类 FieldCode
java.lang.Object
com.baidu.bjf.remoting.protobuf.code.FieldCode
Java field code creator.
- 从以下版本开始:
- 1.10.3
- 作者:
- xiemalin
-
构造器详细资料
-
FieldCode
Instantiates a newFieldCodeinstance.- 参数:
scope- the scopename- the nametype- the typedefaultValue- the default value
-
-
方法详细资料
-
getScope
Gets the scope.- 返回:
- the scope
-
setScope
Sets the scope.- 参数:
scope- the new scope
-
getName
Gets the name.- 返回:
- the name
-
setName
Sets the name.- 参数:
name- the new name
-
getType
Gets the type.- 返回:
- the type
-
setType
Sets the type.- 参数:
type- the new type
-
getDefaultValue
Gets the default value.- 返回:
- the default value
-
setDefaultValue
Sets the default value.- 参数:
defaultValue- the new default value
-
toCode
To code.- 返回:
- the string
-