org.obe.xpdl.model.pkg
Class ExternalPackage

java.lang.Object
  extended byorg.obe.util.AbstractBean
      extended byorg.obe.xpdl.model.pkg.ExternalPackage
All Implemented Interfaces:
java.beans.beancontext.BeanContextChild, java.io.Serializable

public final class ExternalPackage
extends AbstractBean

The ExternalPackage class represents a package which is accessible on a remote server (through a URL).

Author:
Anthony Eden, Adrian Price
See Also:
Serialized Form

Constructor Summary
ExternalPackage()
           
ExternalPackage(java.lang.String href, XPDLPackage pkg)
          Construct a new ExternalPackage.
 
Method Summary
 void accept(PackageVisitor visitor)
           
 ExtendedAttributes getExtendedAttributes()
          Returns the extended attributes.
 java.lang.String getHref()
          Get the URL.
 XPDLPackage getPackage()
          Get the package object.
 void setExtendedAttributes(ExtendedAttributes extendedAttributes)
          Sets the extended attributes.
 void setHref(java.lang.String href)
          Set the URL.
 java.lang.String toString()
           
 
Methods inherited from class org.obe.util.AbstractBean
add, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clear, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, get, get, getBeanContext, getListModel, hasChangeListeners, hasVetoListeners, remove, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, set, set, setBeanContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExternalPackage

public ExternalPackage()

ExternalPackage

public ExternalPackage(java.lang.String href,
                       XPDLPackage pkg)
Construct a new ExternalPackage.

Parameters:
href - The remote address
pkg - The remote package object
Method Detail

accept

public void accept(PackageVisitor visitor)

getHref

public java.lang.String getHref()
Get the URL.

Returns:
The URL

setHref

public void setHref(java.lang.String href)
Set the URL.

Parameters:
href - The URL

getPackage

public XPDLPackage getPackage()
Get the package object.

Returns:
The Package

getExtendedAttributes

public ExtendedAttributes getExtendedAttributes()
Returns the extended attributes.

Returns:
The extended attributes

setExtendedAttributes

public void setExtendedAttributes(ExtendedAttributes extendedAttributes)
Sets the extended attributes.

Parameters:
extendedAttributes -

toString

public java.lang.String toString()


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.