|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gammastream.validity.GSVEntity
public final class 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.webobjects.appserver.xml.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.webobjects.foundation.NSMutableArray |
attributes()
Returns the attributes for this entity. |
java.lang.Class |
classForCoder()
WOXMLCoding Impl |
void |
encodeWithWOXMLCoder(com.webobjects.appserver.xml.WOXMLCoder coder)
WOXMLCoding Impl |
void |
init(GSVModel model,
com.webobjects.eoaccess.EOEntity eoentity)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.webobjects.appserver.xml.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 GSVEntitymodel()
public java.lang.String name()
public com.webobjects.foundation.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.webobjects.appserver.xml.WOXMLCoder coder)
encodeWithWOXMLCoder
in interface com.webobjects.appserver.xml.WOXMLCoding
coder
- WOXMLCoderGSVEntity(com.webobjects.appserver.xml.WOXMLDecoder)
public java.lang.Class classForCoder()
classForCoder
in interface com.webobjects.appserver.xml.WOXMLCoding
public void init(GSVModel model, com.webobjects.eoaccess.EOEntity eoentity)
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |