|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rosuda.JGR.robjects.RObject
public class RObject
RModel - This is a simple java-representation of an object from R providing some information about it.
Constructor Summary | |
---|---|
RObject(java.lang.String name,
java.lang.String type,
boolean b)
Create a new RObject |
|
RObject(java.lang.String name,
java.lang.String type,
RObject parent,
boolean b)
Create a new RObject |
Method Summary | |
---|---|
java.lang.String |
getInfo()
Get provided information about this object. |
java.lang.String |
getName()
Get name of object |
RObject |
getParent()
Get parent object. |
java.lang.String |
getRName()
Get real R-name of this object, e.g.: Cars[["displacement"]]. |
java.lang.String |
getType()
Get type of object: numeric, character .... |
boolean |
isAtomar()
Check wether the object is atomar or not, atomar objects are: function, integer, numeric, character, logical, factor, environment (because they are not supported). |
boolean |
isEditable()
Check if editing this object is supported, types which are supported are: numeric, integer, factor, character, data.frame, matrix, list. |
void |
setInfo(java.lang.String s)
Set information about object, depends on object: data.frame -> dimension, function -> arguments, factor -> levels, .... |
void |
setName(java.lang.String name)
Set name of object. |
void |
setParent(RObject p)
Set parent object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RObject(java.lang.String name, java.lang.String type, RObject parent, boolean b)
name
- name of objecttype
- type of objectparent
- parent object, e.g. if it's an inner vector of a data.frameb
- is there are real R-name or should we set a number insteadpublic RObject(java.lang.String name, java.lang.String type, boolean b)
name
- name of objecttype
- type of objectb
- is there are real R-name or should we set a number insteadMethod Detail |
---|
public void setName(java.lang.String name)
name
- name of objectpublic java.lang.String getName()
public java.lang.String getType()
public void setParent(RObject p)
p
- parent objectpublic RObject getParent()
public boolean isAtomar()
public boolean isEditable()
public java.lang.String getRName()
public void setInfo(java.lang.String s)
s
- information depending on objectpublic java.lang.String getInfo()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |