public abstract class ModelImpl extends Object implements com.github.jmodel.api.Model
| Constructor and Description |
|---|
ModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
static void |
buildRelationForSubModel(com.github.jmodel.api.Model parentModel,
com.github.jmodel.api.Model subModel) |
abstract com.github.jmodel.api.Model |
clone() |
Map<String,com.github.jmodel.api.Field> |
getFieldPathMap() |
String |
getModelPath() |
Map<String,com.github.jmodel.api.Model> |
getModelPathMap() |
String |
getName() |
com.github.jmodel.api.Model |
getParentModel() |
com.github.jmodel.api.Model |
getSubModel(String modelName) |
List<com.github.jmodel.api.Model> |
getSubModels() |
Object |
getTargetBean() |
boolean |
isRecursive() |
boolean |
isUsed() |
void |
removeFieldByPath(String path) |
void |
setFieldPathMap(Map<String,com.github.jmodel.api.Field> fieldPathMap) |
void |
setModelPath(String modelPath) |
void |
setModelPathMap(Map<String,com.github.jmodel.api.Model> modelPathMap) |
void |
setName(String name) |
void |
setParentModel(com.github.jmodel.api.Model parentModel) |
void |
setRecursive(boolean isRecursive) |
void |
setSubModels(List<com.github.jmodel.api.Model> subModels) |
void |
setTargetBean(Object targetBean) |
void |
setUsed(boolean isUsed) |
public String getName()
getName in interface com.github.jmodel.api.Modelpublic void setName(String name)
setName in interface com.github.jmodel.api.Modelpublic boolean isRecursive()
isRecursive in interface com.github.jmodel.api.Modelpublic void setRecursive(boolean isRecursive)
setRecursive in interface com.github.jmodel.api.Modelpublic String getModelPath()
getModelPath in interface com.github.jmodel.api.Modelpublic void setModelPath(String modelPath)
setModelPath in interface com.github.jmodel.api.Modelpublic com.github.jmodel.api.Model getParentModel()
getParentModel in interface com.github.jmodel.api.Modelpublic void setParentModel(com.github.jmodel.api.Model parentModel)
setParentModel in interface com.github.jmodel.api.Modelpublic boolean isUsed()
public void setUsed(boolean isUsed)
public List<com.github.jmodel.api.Model> getSubModels()
getSubModels in interface com.github.jmodel.api.Modelpublic void setSubModels(List<com.github.jmodel.api.Model> subModels)
setSubModels in interface com.github.jmodel.api.Modelpublic com.github.jmodel.api.Model getSubModel(String modelName)
public Map<String,com.github.jmodel.api.Field> getFieldPathMap()
getFieldPathMap in interface com.github.jmodel.api.Modelpublic void setFieldPathMap(Map<String,com.github.jmodel.api.Field> fieldPathMap)
setFieldPathMap in interface com.github.jmodel.api.Modelpublic Map<String,com.github.jmodel.api.Model> getModelPathMap()
getModelPathMap in interface com.github.jmodel.api.Modelpublic void setModelPathMap(Map<String,com.github.jmodel.api.Model> modelPathMap)
setModelPathMap in interface com.github.jmodel.api.Modelpublic Object getTargetBean()
getTargetBean in interface com.github.jmodel.api.Modelpublic void setTargetBean(Object targetBean)
setTargetBean in interface com.github.jmodel.api.Modelpublic void removeFieldByPath(String path)
public static void buildRelationForSubModel(com.github.jmodel.api.Model parentModel,
com.github.jmodel.api.Model subModel)
Copyright © 2016. All rights reserved.