|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gammastream.validity.GSVEntity
GSVEntity is the data structure associated with a paritcular table or EOEntity in an EOModel.
Constructor Summary | |
GSVEntity(GSVModel model,
String entityname)
Creates a new GSVEntity. |
|
GSVEntity(WOXMLDecoder decoder)
WOXMLCoding Impl |
Method Summary | |
void |
addAttribute(GSVAttribute newAtt)
Adds the attribute to this entity. |
GSVAttribute |
attributeNamed(String name)
Returns the attribute with the provided name. |
NSMutableArray |
attributes()
Returns the attributes for this entity. |
Class |
classForCoder()
WOXMLCoding Impl |
void |
encodeWithWOXMLCoder(WOXMLCoder coder)
WOXMLCoding Impl |
void |
init(GSVModel model,
EOEntity eoentity)
|
GSVModel |
model()
Returns the GSVModel the GSVEntity belongs to. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GSVEntity(GSVModel model, String entityname) throws IllegalArgumentException
model
- The GSVModel this GSVEntity belongs to.entityname
- The name of the GSVEntity.
IllegalArgumentException
- EOEntity does not exsit in EOModelpublic GSVEntity(WOXMLDecoder decoder)
decoder
- WOXMLDecoderencodeWithWOXMLCoder(com.webobjects.appserver.xml.WOXMLCoder)
Method Detail |
public GSVModel model()
setModel(com.gammastream.validity.GSVModel)
public void setModel(GSVModel newModel)
newModel
- GSVModel for the GSVEntity
model()
public String name()
public 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(String name)
name
- The name of the attribute you wish to fetch.
public void encodeWithWOXMLCoder(WOXMLCoder coder)
encodeWithWOXMLCoder
in interface WOXMLCoding
coder
- WOXMLCoderGSVEntity(com.webobjects.appserver.xml.WOXMLDecoder)
public Class classForCoder()
classForCoder
in interface WOXMLCoding
public void init(GSVModel model, EOEntity eoentity)
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |