public class FieldCode extends Object
| 构造器和说明 |
|---|
FieldCode(String scope,
String name,
String type,
String defaultValue)
Instantiates a new
FieldCode instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDefaultValue()
Gets the default value.
|
String |
getName()
Gets the name.
|
String |
getScope()
Gets the scope.
|
String |
getType()
Gets the type.
|
void |
setDefaultValue(String defaultValue)
Sets the default value.
|
void |
setName(String name)
Sets the name.
|
void |
setScope(String scope)
Sets the scope.
|
void |
setType(String type)
Sets the type.
|
String |
toCode()
To code.
|
public String getScope()
public void setScope(String scope)
scope - the new scopepublic String getName()
public void setName(String name)
name - the new namepublic String getType()
public void setType(String type)
type - the new typepublic String getDefaultValue()
public void setDefaultValue(String defaultValue)
defaultValue - the new default valuepublic String toCode()
Copyright © 2022 Baidu, Inc.. All rights reserved.