public class DataExchangeInstance extends DataInstance
CLASSNAME, CLASSTYPE, DEFAULT_VISIBILITY, NOT_VISIBLE, VISIBLE
PROPERTY_INDEX_NOT_FOUND
Constructor and Description |
---|
DataExchangeInstance() |
Modifier and Type | Method and Description |
---|---|
void |
addLinkTo(GlobalID linkedId,
DirectedRelationVO linkedThroughRel)
Adds a relationship from this instance to another instance
|
void |
compress()
Nulls names of columns.
|
java.util.HashMap<DirectedRelationVO,InstanceLinkVO> |
getInstanceLinks() |
java.lang.String[] |
getKeyField() |
java.lang.String |
getKeyField(int i) |
int |
getKeyFieldCount() |
java.lang.String[] |
getKeyRel() |
java.util.Collection<InstanceLinkVO> |
getLinkedObjs() |
boolean |
isRef() |
void |
setInstanceLinks(java.util.HashMap<DirectedRelationVO,InstanceLinkVO> instanceLinks) |
void |
setKeyField(java.lang.String[] keyField) |
void |
setKeyRel(java.lang.String[] keyRel) |
void |
setLinkedObjs(java.util.HashMap<DirectedRelationVO,InstanceLinkVO> linkedObjs) |
void |
setRef(boolean ref) |
void |
uncompress(ClassVO classvo)
Restores metadata from model
|
clone, close, getClassId, getClassname, getClassnames, getGlid, getGlobalId, getIndex, getInstanceType, getName, getOriginalNames, getPropertyCount, getPropertyNames, getType, getValue, getValue, getValueClassName, getValues, getValuesClassNames, hasProperty, name2index, setAutomaticFields, setClassId, setClassname, setClassnames, setGlid, setId, setInstanceType, setOriginalNames, setPropertyNames, setType, setValue, setValue, setValues, setValuesClassNames, toJSONObject, toMap, toString
copyToInstance, export2csv, 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, setLabel, setName, setO, setOrd, setVisibility, updateFromInstance, writeToFile, writeToStream, xmlSerialize
decode64, decode64bin, encode64, encode64bin, readObject, readObject64, toBean, toByteArray, toJSON, toXML
public boolean isRef()
public void setRef(boolean ref)
public void compress()
public void uncompress(ClassVO classvo)
public int getKeyFieldCount()
public java.lang.String getKeyField(int i)
public java.lang.String[] getKeyField()
public void setKeyField(java.lang.String[] keyField)
public java.lang.String[] getKeyRel()
public void setKeyRel(java.lang.String[] keyRel)
public java.util.Collection<InstanceLinkVO> getLinkedObjs()
public void setLinkedObjs(java.util.HashMap<DirectedRelationVO,InstanceLinkVO> linkedObjs)
public void addLinkTo(GlobalID linkedId, DirectedRelationVO linkedThroughRel)
rel
- destId
- public java.util.HashMap<DirectedRelationVO,InstanceLinkVO> getInstanceLinks()
public void setInstanceLinks(java.util.HashMap<DirectedRelationVO,InstanceLinkVO> instanceLinks)