com.irisel.oms.olapi.beans
Class DataModelVO
java.lang.Object
com.irisel.util.BaseBean
com.irisel.oms.olapi.beans.XMLBean
com.irisel.oms.olapi.beans.DataModelVO
- All Implemented Interfaces:
- XMLBean, java.io.Serializable
public class DataModelVO
- extends XMLBean
- See Also:
- Serialized Form
Fields inherited from interface com.irisel.util.XMLBean |
CSV |
Methods inherited from class com.irisel.oms.olapi.beans.XMLBean |
copyToInstance, getDescId, getGeneratedAt, getGenericAttr, getIcon, getIconName, getId, getLabel, getName, getO, getOrd, getVisibility, isDirty, isEnabled, isErased, isMandatory, isReadOnly, readFromFile, readFromStream, setDescId, setDirty, setEnabled, setErased, setGeneratedAt, setGenericAttr, setIcon, setIconName, setId, setLabel, setName, setO, setOrd, setVisibility, toString, updateFromInstance, writeToFile, writeToStream, xmlSerialize |
Methods inherited from class com.irisel.util.BaseBean |
decode64, decode64bin, encode64, encode64bin, readObject, readObject64, toBean, toByteArray, toJSON, toJSONObject, toXML |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DataModelVO
public DataModelVO()
getVersion
public int getVersion()
setVersion
public void setVersion(int version)
getClassVOs
public ClassVO[] getClassVOs()
getClassVO
public ClassVO getClassVO(java.lang.String classname)
getClassVOById
public ClassVO getClassVOById(long classId)
setClassVOs
public void setClassVOs(ClassVO[] classVOs)
getViewVOs
public ViewVO[] getViewVOs()
getViewVO
public ViewVO getViewVO(java.lang.String viewname)
getViewVOById
public ViewVO getViewVOById(long viewId)
setViewVOs
public void setViewVOs(ViewVO[] viewVOs)
getRoleVOs
public RoleVO[] getRoleVOs()
getRoleVO
public RoleVO getRoleVO(java.lang.String rolename)
getRoleVOById
public RoleVO getRoleVOById(long roleId)
setRoleVOs
public void setRoleVOs(RoleVO[] roleVOs)
getRelationVOs
public RelationVO[] getRelationVOs()
getRelationVO
public 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
- Parameters:
relname
-
- Returns:
getRelationVOById
public RelationVO getRelationVOById(long relId)
findClassRelationVOs
public DirectedRelationVO[] findClassRelationVOs(java.lang.String classname)
- Deprecated.
- Use ClassVO.getOmsRelationVOs instead.
- Parameters:
classname
-
- Returns:
setRelationVOs
public void setRelationVOs(RelationVO[] relationVOs)
setupRelationVOs
public void setupRelationVOs(RelationVO[] relationVOs)
getListVOs
public ListVO[] getListVOs()
setListVOs
public void setListVOs(ListVO[] listVOs)
getDescVOs
public DescriptionVO[] getDescVOs()
getDescVOById
public DescriptionVO getDescVOById(long descId)
getDescVOByDomainName
public DescriptionVO getDescVOByDomainName(java.lang.String domain,
java.lang.String name)
setDescVOs
public void setDescVOs(DescriptionVO[] descVOs)
getServiceVOs
public ServiceVO[] getServiceVOs()
setServiceVOs
public void setServiceVOs(ServiceVO[] serviceVOs)
addDescriptionVO
public void addDescriptionVO(DescriptionVO descvo)
- Adds a DescriptionVO element to the model
- Parameters:
descvo
-
export2csv
public void export2csv(java.io.Writer os)
throws java.io.IOException
- Specified by:
export2csv
in interface XMLBean
- Overrides:
export2csv
in class XMLBean
- Throws:
java.io.IOException