public class DataModelVO extends XMLBean
CLASSNAME, CLASSTYPE, DEFAULT_VISIBILITY, NOT_VISIBLE, VISIBLE
Constructor and Description |
---|
DataModelVO() |
Modifier and Type | Method and Description |
---|---|
void |
addDescriptionVO(DescriptionVO descvo)
Adds a DescriptionVO element to the model
|
void |
export2csv(java.io.Writer os) |
DirectedRelationVO[] |
findClassRelationVOs(java.lang.String classname)
Deprecated.
|
ClassVO |
getClassVO(java.lang.String classname) |
ClassVO |
getClassVOById(long classId) |
ClassVO[] |
getClassVOs() |
DescriptionVO |
getDescVOByDomainName(java.lang.String domain,
java.lang.String name) |
DescriptionVO |
getDescVOById(long descId) |
DescriptionVO[] |
getDescVOs() |
ListVO[] |
getListVOs() |
RelationVO |
getRelationVO(java.lang.String relname)
For ad-hoc relations, it creates a new RelationVO
First, for relations stored in the DataModelVO, it retrieves the specified relation by name
If not found, it searches in the ClassVO objects
|
RelationVO |
getRelationVOById(long relId) |
RelationVO[] |
getRelationVOs() |
RoleVO |
getRoleVO(java.lang.String rolename) |
RoleVO |
getRoleVOById(long roleId) |
RoleVO[] |
getRoleVOs() |
ServiceVO[] |
getServiceVOs() |
int |
getVersion() |
ViewVO |
getViewVO(java.lang.String viewname) |
ViewVO |
getViewVOById(long viewId) |
ViewVO[] |
getViewVOs() |
void |
refreshLabels(java.util.Map<java.lang.Long,DescriptionVO> descriptionsMap) |
void |
setClassVOs(ClassVO[] classVOs) |
void |
setDescVOs(DescriptionVO[] descVOs) |
void |
setListVOs(ListVO[] listVOs) |
void |
setRelationVOs(RelationVO[] relationVOs) |
void |
setRoleVOs(RoleVO[] roleVOs) |
void |
setServiceVOs(ServiceVO[] serviceVOs) |
void |
setupRelationVOs(RelationVO[] relationVOs) |
void |
setVersion(int version) |
void |
setViewVOs(ViewVO[] viewVOs) |
copyToInstance, getComments, getDescId, getGeneratedAt, getGenericAttr, getIcon, getIconName, getId, getLabel, getName, getO, getOrd, getVisibility, isDirty, isEnabled, isErased, isMandatory, isReadOnly, readFromFile, readFromStream, refreshMyLabel, refreshMyLabel, setComments, setDescId, setDirty, setEnabled, setErased, setGeneratedAt, setGenericAttr, setIcon, setIconName, setId, setLabel, setName, setO, setOrd, setVisibility, toString, updateFromInstance, writeToFile, writeToStream, xmlSerialize
decode64, decode64bin, encode64, encode64bin, readObject, readObject64, toBean, toByteArray, toJSON, toJSONObject, toXML
public int getVersion()
public void setVersion(int version)
public ClassVO[] getClassVOs()
public ClassVO getClassVO(java.lang.String classname)
public ClassVO getClassVOById(long classId)
public void setClassVOs(ClassVO[] classVOs)
public ViewVO[] getViewVOs()
public ViewVO getViewVO(java.lang.String viewname)
public ViewVO getViewVOById(long viewId)
public void setViewVOs(ViewVO[] viewVOs)
public RoleVO[] getRoleVOs()
public RoleVO getRoleVO(java.lang.String rolename)
public RoleVO getRoleVOById(long roleId)
public void setRoleVOs(RoleVO[] roleVOs)
public RelationVO[] getRelationVOs()
public RelationVO getRelationVO(java.lang.String relname)
relname
- public RelationVO getRelationVOById(long relId)
@Deprecated public DirectedRelationVO[] findClassRelationVOs(java.lang.String classname)
classname
- public void setRelationVOs(RelationVO[] relationVOs)
public void setupRelationVOs(RelationVO[] relationVOs)
public ListVO[] getListVOs()
public void setListVOs(ListVO[] listVOs)
public DescriptionVO[] getDescVOs()
public DescriptionVO getDescVOById(long descId)
public DescriptionVO getDescVOByDomainName(java.lang.String domain, java.lang.String name)
public void setDescVOs(DescriptionVO[] descVOs)
public ServiceVO[] getServiceVOs()
public void setServiceVOs(ServiceVO[] serviceVOs)
public void addDescriptionVO(DescriptionVO descvo)
descvo
- public void export2csv(java.io.Writer os) throws java.io.IOException
export2csv
in interface XMLBean
export2csv
in class XMLBean
java.io.IOException
public void refreshLabels(java.util.Map<java.lang.Long,DescriptionVO> descriptionsMap)