com.waveset.object
Class Link

java.lang.Object
  extended bycom.waveset.util.AbstractXmlObject
      extended bycom.waveset.object.LinkIdentifier
          extended bycom.waveset.object.Link
All Implemented Interfaces:
javax.naming.Referenceable, XmlObject

public class Link
extends LinkIdentifier


Field Summary
static java.lang.String ATT_CREATED
           
static java.lang.String ATT_DELETE
           
static java.lang.String ATT_DEPENDENT
           
static java.lang.String ATT_DISABLED
           
static java.lang.String ATT_DISPLAY_NAME
           
static java.lang.String ATT_NEWID
           
static java.lang.String ATT_UNLINK
           
static java.lang.String EL_ATTRIBUTES
           
static java.lang.String EL_DEFERRED
           
static java.lang.String EL_PENDING
           
static java.lang.String ELEMENT
           
 
Fields inherited from class com.waveset.object.LinkIdentifier
ATT_GUID, ATT_IDENTITY, ATT_TEMPID, code_id
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace
 
Constructor Summary
Link()
           
Link(org.w3c.dom.Element e)
           
 
Method Summary
 void addDeferredAttribute(AttributeRef ref)
           
protected  void addXmlAttributes(java.lang.StringBuffer b)
           
protected  void addXmlElements(java.lang.StringBuffer b, int indent)
           
 java.lang.Object getAttribute(java.lang.String name)
           
 GenericObject getAttributes()
           
 GenericObject getCurrentAttributes()
           
 java.util.List getDeferredAttributes()
           
 java.lang.String getDependentResourceId()
           
 java.lang.String getDisplayName()
           
 java.lang.String getElementName()
          Return the XmlObject name
 java.lang.String getNewIdentity()
           
 GenericObject getPendingAttributes()
           
 GenericObject getResultAttributes()
           
 boolean isCreated()
           
 boolean isDelete()
           
 boolean isDisabled()
           
 boolean isReferenced()
           
 boolean isUnlink()
           
protected  void parseXmlAttributes(org.w3c.dom.Element e)
           
protected  void parseXmlChild(java.lang.String tag, org.w3c.dom.Element child)
           
 void setAttribute(java.lang.String name, java.lang.Object value)
           
 void setAttributes(GenericObject atts)
           
 void setCreated(boolean b)
           
 void setCurrentAttributes(GenericObject atts)
           
 void setDeferredAttributes(java.util.List atts)
           
 void setDelete(boolean b)
           
 void setDependentResourceId(java.lang.String id)
           
 void setDisabled(boolean e)
          Set the disabled flag.
 void setDisplayName(java.lang.String s)
           
 void setNewIdentity(java.lang.String s)
           
 void setPendingAttributes(GenericObject atts)
           
 void setReferenced(boolean b)
          Sets the referenced flag.
 void setResultAttributes(GenericObject atts)
           
 void setUnlink(boolean b)
           
 
Methods inherited from class com.waveset.object.LinkIdentifier
fromResource, getGUID, getIdentity, getOwner, getResource, getResource, getResourceRef, getTempId, parseXml, setGUID, setIdentity, setOwner, setResource, setResource, setTempId, toXml
 
Methods inherited from class com.waveset.util.AbstractXmlObject
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT

public static final java.lang.String ELEMENT
See Also:
Constant Field Values

ATT_DISPLAY_NAME

public static final java.lang.String ATT_DISPLAY_NAME
See Also:
Constant Field Values

ATT_CREATED

public static final java.lang.String ATT_CREATED
See Also:
Constant Field Values

ATT_DISABLED

public static final java.lang.String ATT_DISABLED
See Also:
Constant Field Values

ATT_DEPENDENT

public static final java.lang.String ATT_DEPENDENT
See Also:
Constant Field Values

ATT_UNLINK

public static final java.lang.String ATT_UNLINK
See Also:
Constant Field Values

ATT_DELETE

public static final java.lang.String ATT_DELETE
See Also:
Constant Field Values

ATT_NEWID

public static final java.lang.String ATT_NEWID
See Also:
Constant Field Values

EL_ATTRIBUTES

public static final java.lang.String EL_ATTRIBUTES
See Also:
Constant Field Values

EL_PENDING

public static final java.lang.String EL_PENDING
See Also:
Constant Field Values

EL_DEFERRED

public static final java.lang.String EL_DEFERRED
See Also:
Constant Field Values
Constructor Detail

Link

public Link()

Link

public Link(org.w3c.dom.Element e)
     throws WavesetException
Method Detail

getElementName

public java.lang.String getElementName()
Description copied from class: LinkIdentifier
Return the XmlObject name

Specified by:
getElementName in interface XmlObject
Overrides:
getElementName in class LinkIdentifier
Returns:
the XmlObject name

getDisplayName

public java.lang.String getDisplayName()

setDisplayName

public void setDisplayName(java.lang.String s)

setCreated

public void setCreated(boolean b)

isCreated

public boolean isCreated()

isDisabled

public boolean isDisabled()
Returns:
true if the object is disabled.

setDisabled

public void setDisabled(boolean e)
Set the disabled flag.

Parameters:
e - disabled flag

isReferenced

public boolean isReferenced()
Returns:
true if the referenced flag is on.

setReferenced

public void setReferenced(boolean b)
Sets the referenced flag.

Parameters:
b - referenced flag

getAttributes

public GenericObject getAttributes()

setAttributes

public void setAttributes(GenericObject atts)

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)

getAttribute

public java.lang.Object getAttribute(java.lang.String name)

getPendingAttributes

public GenericObject getPendingAttributes()

setPendingAttributes

public void setPendingAttributes(GenericObject atts)

getCurrentAttributes

public GenericObject getCurrentAttributes()

setCurrentAttributes

public void setCurrentAttributes(GenericObject atts)

setResultAttributes

public void setResultAttributes(GenericObject atts)

getResultAttributes

public GenericObject getResultAttributes()

setDeferredAttributes

public void setDeferredAttributes(java.util.List atts)

addDeferredAttribute

public void addDeferredAttribute(AttributeRef ref)

getDeferredAttributes

public java.util.List getDeferredAttributes()

getDependentResourceId

public java.lang.String getDependentResourceId()

setDependentResourceId

public void setDependentResourceId(java.lang.String id)

setUnlink

public void setUnlink(boolean b)

isUnlink

public boolean isUnlink()

setDelete

public void setDelete(boolean b)

isDelete

public boolean isDelete()

setNewIdentity

public void setNewIdentity(java.lang.String s)

getNewIdentity

public java.lang.String getNewIdentity()

addXmlAttributes

protected void addXmlAttributes(java.lang.StringBuffer b)
Overrides:
addXmlAttributes in class LinkIdentifier

addXmlElements

protected void addXmlElements(java.lang.StringBuffer b,
                              int indent)
Overrides:
addXmlElements in class LinkIdentifier

parseXmlAttributes

protected void parseXmlAttributes(org.w3c.dom.Element e)
                           throws WavesetException
Overrides:
parseXmlAttributes in class LinkIdentifier
Throws:
WavesetException

parseXmlChild

protected void parseXmlChild(java.lang.String tag,
                             org.w3c.dom.Element child)
                      throws WavesetException
Overrides:
parseXmlChild in class LinkIdentifier
Throws:
WavesetException