org.opensaml.artifact
Class SAMLArtifactType0001.RemainingArtifact

java.lang.Object
  extended by org.opensaml.artifact.SAMLArtifact.RemainingArtifact
      extended by org.opensaml.artifact.SAMLArtifactType0001.RemainingArtifact
All Implemented Interfaces:
Artifact.RemainingArtifact, ByteSizedSequence
Enclosing class:
SAMLArtifactType0001

public static final class SAMLArtifactType0001.RemainingArtifact
extends SAMLArtifact.RemainingArtifact

An implementation of Artifact.RemainingArtifact for type 0x0001 artifacts (via extension of SAMLArtifact.RemainingArtifact). This class defines two properties (sourceId and assertionHandle).


Constructor Summary
SAMLArtifactType0001.RemainingArtifact(byte[] sourceId)
          This constructor initializes a property of this RemainingArtifact object to the given value.
SAMLArtifactType0001.RemainingArtifact(byte[] sourceId, byte[] assertionHandle)
          This constructor initializes the properties of this RemainingArtifact object to the given values.
 
Method Summary
 byte[] getAssertionHandle()
          Get the assertionHandle property of this Artifact.RemainingArtifact object.
 byte[] getBytes()
          Get the actual bytes of this sequence of bytes.
 byte[] getSourceId()
          Get the sourceId property of this Artifact.RemainingArtifact object.
 int hashCode()
          Compute the hashcode of this sequences of bytes.
 int size()
          Get the size of this sequence of bytes.
 
Methods inherited from class org.opensaml.artifact.SAMLArtifact.RemainingArtifact
equals, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SAMLArtifactType0001.RemainingArtifact

public SAMLArtifactType0001.RemainingArtifact(byte[] sourceId)
This constructor initializes a property of this RemainingArtifact object to the given value.

This constructor throws a NullArgumentException or InvalidArgumentException if its argument is null or invalid, respectively. These exceptions are unchecked.

Parameters:
sourceId - a source Id
See Also:
NullArgumentException, InvalidArgumentException

SAMLArtifactType0001.RemainingArtifact

public SAMLArtifactType0001.RemainingArtifact(byte[] sourceId,
                                              byte[] assertionHandle)
This constructor initializes the properties of this RemainingArtifact object to the given values.

This constructor throws a NullArgumentException or InvalidArgumentException if any of its arguments are null or invalid, respectively. These exceptions are unchecked.

Parameters:
sourceId - a source Id
assertionHandle - an assertion handle
See Also:
NullArgumentException, InvalidArgumentException
Method Detail

getSourceId

public byte[] getSourceId()
Get the sourceId property of this Artifact.RemainingArtifact object. return the sourceId property


getAssertionHandle

public byte[] getAssertionHandle()
Get the assertionHandle property of this Artifact.RemainingArtifact object. return the assertionHandle property


size

public int size()
Description copied from interface: ByteSizedSequence
Get the size of this sequence of bytes.

Returns:
the size of the sequence

getBytes

public byte[] getBytes()
Description copied from interface: ByteSizedSequence
Get the actual bytes of this sequence of bytes.

Returns:
the actual sequence of bytes

hashCode

public int hashCode()
Description copied from interface: ByteSizedSequence
Compute the hashcode of this sequences of bytes.

Specified by:
hashCode in interface ByteSizedSequence
Overrides:
hashCode in class Object
Returns:
the hashcode


Copyright ? 2005 UCAID. All Rights Reserved.