|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
com.gammastream.validity.GSVEntity
GSVEntity is the data structure associated with a paritcular table or EOEntity in an EOModel.
| Constructor Summary | |
GSVEntity(GSVModel model,
java.lang.String entityname)
Creates a new GSVEntity. |
|
GSVEntity(com.gammastream.validity.WOXMLDecoder decoder)
WOXMLCoding Impl |
|
| Method Summary | |
void |
addAttribute(GSVAttribute newAtt)
Adds the attribute to this entity. |
GSVAttribute |
attributeNamed(java.lang.String name)
Returns the attribute with the provided name. |
com.gammastream.validity.NSMutableArray |
attributes()
Returns the attributes for this entity. |
java.lang.Class |
classForCoder()
WOXMLCoding Impl |
void |
encodeWithWOXMLCoder(com.gammastream.validity.WOXMLCoder coder)
WOXMLCoding Impl |
GSVModel |
model()
Returns the GSVModel the GSVEntity belongs to. |
java.lang.String |
name()
Returns the name of the GSVEntity. |
void |
removeAttribute(GSVAttribute oldAtt)
Removes the attribute from this entity. |
void |
setModel(GSVModel newModel)
Sets the GSVModel the GSVEntity belongs to. |
| Constructor Detail |
public GSVEntity(GSVModel model,
java.lang.String entityname)
throws java.lang.IllegalArgumentException
model - The GSVModel this GSVEntity belongs to.entityname - The name of the GSVEntity.java.lang.IllegalArgumentException - EOEntity does not exsit in EOModelpublic GSVEntity(com.gammastream.validity.WOXMLDecoder decoder)
decoder - WOXMLDecoderencodeWithWOXMLCoder(com.gammastream.validity.WOXMLCoder)| Method Detail |
public GSVModel model()
setModel(com.gammastream.validity.GSVModel)public void setModel(GSVModel newModel)
newModel - GSVModel for the GSVEntitymodel()public java.lang.String name()
public com.gammastream.validity.NSMutableArray attributes()
addAttribute(com.gammastream.validity.GSVAttribute),
removeAttribute(com.gammastream.validity.GSVAttribute)public void addAttribute(GSVAttribute newAtt)
newAtt - The attribute to add.attributes(),
removeAttribute(com.gammastream.validity.GSVAttribute)public void removeAttribute(GSVAttribute oldAtt)
oldAtt - The attribute to remove.attributes(),
addAttribute(com.gammastream.validity.GSVAttribute)public GSVAttribute attributeNamed(java.lang.String name)
name - The name of the attribute you wish to fetch.public void encodeWithWOXMLCoder(com.gammastream.validity.WOXMLCoder coder)
coder - WOXMLCoderGSVEntity(com.gammastream.validity.GSVModel, java.lang.String)public java.lang.Class classForCoder()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||