com.waveset.object
Class Link
java.lang.Object
com.waveset.util.AbstractXmlObject
com.waveset.object.LinkIdentifier
com.waveset.object.Link
- All Implemented Interfaces:
- javax.naming.Referenceable, XmlObject
- public class Link
- extends LinkIdentifier
Constructor Summary |
Link()
|
Link(org.w3c.dom.Element e)
|
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 |
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
Link
public Link()
Link
public Link(org.w3c.dom.Element e)
throws WavesetException
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