public class ClassVO extends XMLBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_TABLE |
static java.lang.String |
TYPE_VIEW |
CLASSNAME, CLASSTYPE, DEFAULT_VISIBILITY, NOT_VISIBLE, VISIBLE
Constructor and Description |
---|
ClassVO() |
Modifier and Type | Method and Description |
---|---|
void |
addOMSRelationVO(DirectedRelationVO r) |
void |
addOtherRole(RoleVO r) |
void |
addPropertyVO(PropertyVO p) |
void |
addRelation(RelationVO relvo) |
void |
addRole(RoleVO r) |
void |
export2csv(java.io.Writer out) |
RoleVO[] |
findOtherRoles(RelationVO rel) |
RoleVO[] |
findRoles(RelationVO rel) |
PropertyVO |
getDependentProperty(PropertyVO p)
For multilevel lists, several properties in a class
are associated with the same list, with different levels.
|
javax.swing.Icon |
getIcon() |
java.lang.String[] |
getJavaClassNames() |
long |
getModelId() |
DirectedRelationVO[] |
getOmsRelationVOs() |
int |
getPropertyCount() |
int |
getPropertyIndex(java.lang.String propname)
Returns the index of the property, or -1 if not found.
|
java.lang.String[] |
getPropertyNames() |
PropertyVO |
getPropertyVOByName(java.lang.String name) |
PropertyVO[] |
getPropertyVOs() |
RelationVO |
getRelationVO(java.lang.String name) |
RelationVO[] |
getRelationVOs() |
java.lang.String[] |
getSearchablePropertyNames() |
java.lang.String |
getType() |
boolean |
isAttachmentEnabled() |
void |
refreshLabels(java.util.Map<java.lang.Long,DescriptionVO> descriptionsMap) |
void |
setAttachmentEnabled(boolean attachmentEnabled) |
void |
setModelId(long modelId) |
void |
setPropertyVOs(PropertyVO[] propertyVOs) |
void |
setRelationVOs(RelationVO[] relationVOs) |
void |
setType(java.lang.String type) |
copyToInstance, getComments, getDescId, getGeneratedAt, getGenericAttr, 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 static final java.lang.String TYPE_VIEW
public static final java.lang.String TYPE_TABLE
public PropertyVO[] getPropertyVOs()
public PropertyVO getPropertyVOByName(java.lang.String name)
public void setPropertyVOs(PropertyVO[] propertyVOs)
public java.lang.String[] getPropertyNames()
public PropertyVO getDependentProperty(PropertyVO p) throws DataException
p
- is a property of type List (level "N")DataException
- if param is not of type List.public java.lang.String[] getJavaClassNames()
public void setType(java.lang.String type)
public java.lang.String getType()
public void setRelationVOs(RelationVO[] relationVOs)
public void addRelation(RelationVO relvo)
public RelationVO[] getRelationVOs()
public RelationVO getRelationVO(java.lang.String name)
public void addPropertyVO(PropertyVO p)
public long getModelId()
public void setModelId(long modelId)
public void addOMSRelationVO(DirectedRelationVO r)
public void addRole(RoleVO r)
public void addOtherRole(RoleVO r)
public RoleVO[] findRoles(RelationVO rel)
public RoleVO[] findOtherRoles(RelationVO rel)
public DirectedRelationVO[] getOmsRelationVOs()
public boolean isAttachmentEnabled()
public void setAttachmentEnabled(boolean attachmentEnabled)
public void export2csv(java.io.Writer out) throws java.io.IOException
export2csv
in interface XMLBean
export2csv
in class XMLBean
java.io.IOException
public int getPropertyIndex(java.lang.String propname)
propname
- public java.lang.String[] getSearchablePropertyNames()
public int getPropertyCount()
public void refreshLabels(java.util.Map<java.lang.Long,DescriptionVO> descriptionsMap)