public class GmoSandboxEntity extends Object
| Constructor and Description |
|---|
GmoSandboxEntity(int id,
String name,
String desc,
String tableName,
boolean root) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(GmoSandboxAttribute attr) |
GmoSandboxAttribute |
findAttribute(int attrId) |
GmoSandboxAttribute |
findAttribute(String name) |
List<GmoSandboxAttribute> |
getAttributes() |
String |
getDesc() |
int |
getId() |
String |
getName() |
Optional<String> |
getTableName() |
boolean |
isPersistent()
Entity is marked as persistent if at least 1 attribute is persistent.
|
boolean |
isRoot() |
boolean |
isTransient() |
String |
toString() |
String |
toStringInline() |
public void addAttribute(GmoSandboxAttribute attr)
public GmoSandboxAttribute findAttribute(int attrId)
public GmoSandboxAttribute findAttribute(String name)
public boolean isPersistent()
public boolean isTransient()
public String toStringInline()
public int getId()
public String getName()
public String getDesc()
public List<GmoSandboxAttribute> getAttributes()
public boolean isRoot()
Copyright © 2021. All rights reserved.