Novell exteNd Web Services SDK API

com.sssw.jbroker.web.xsd
Class SWARef

java.lang.Object
  extended bycom.sssw.jbroker.web.xsd.Validator
      extended bycom.sssw.jbroker.web.xsd.AnyURI
          extended bycom.sssw.jbroker.web.xsd.SWARef
All Implemented Interfaces:
Serializable

public class SWARef
extends AnyURI

A wrapper class that contains a ref:swaRef. Please refer to the WS-I Attachment Profile 1.0 for the complete definition of this simple type.

Since:
WSSDK 5.2
See Also:
Serialized Form

Constructor Summary
SWARef(String value)
          Constructs a SWARef using Content-Id string
 
Method Summary
 Object getAttachment()
          Get the referred attachment
 String getContentType()
          Get the contentType of the referred attachment
 void setAttachment(Object attachment)
          Set the referred attachment
 void setContentType(String contentType)
          Set the contentType of the referred attachment
 
Methods inherited from class com.sssw.jbroker.web.xsd.AnyURI
equals, getValue, hashCode, setValue, toString, validate
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SWARef

public SWARef(String value)
       throws IllegalArgumentException
Constructs a SWARef using Content-Id string

Method Detail

getContentType

public String getContentType()
Get the contentType of the referred attachment


setContentType

public void setContentType(String contentType)
Set the contentType of the referred attachment


getAttachment

public Object getAttachment()
Get the referred attachment


setAttachment

public void setAttachment(Object attachment)
Set the referred attachment


Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.