类 FieldCode

java.lang.Object
com.baidu.bjf.remoting.protobuf.code.FieldCode

public class FieldCode extends Object
Java field code creator.
从以下版本开始:
1.10.3
作者:
xiemalin
  • 构造器详细资料

    • FieldCode

      public FieldCode(String scope, String name, String type, String defaultValue)
      Instantiates a new FieldCode instance.
      参数:
      scope - the scope
      name - the name
      type - the type
      defaultValue - the default value
  • 方法详细资料

    • getScope

      public String getScope()
      Gets the scope.
      返回:
      the scope
    • setScope

      public void setScope(String scope)
      Sets the scope.
      参数:
      scope - the new scope
    • getName

      public String getName()
      Gets the name.
      返回:
      the name
    • setName

      public void setName(String name)
      Sets the name.
      参数:
      name - the new name
    • getType

      public String getType()
      Gets the type.
      返回:
      the type
    • setType

      public void setType(String type)
      Sets the type.
      参数:
      type - the new type
    • getDefaultValue

      public String getDefaultValue()
      Gets the default value.
      返回:
      the default value
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
      Sets the default value.
      参数:
      defaultValue - the new default value
    • toCode

      public String toCode()
      To code.
      返回:
      the string