org.systinet.wasp.dd
Interface Header


public interface Header

This interface represents header subelement of understand element.

Since:
4.5
Component:
Core

Method Summary
 java.lang.String getClazz()
          Class name from which schem for this header will be generated.
 QName getName()
          QName of header.
 QName getType()
          QName of header type.
 boolean isIn()
          Tests if this header has "in" direction.
 boolean isOut()
          Tests if this header has "out" direction.
 void setClazz(java.lang.String clazz)
          Class name from which schem for this header will be generated.
 void setIn(boolean in)
          Sets direction to input, if the argument is true.
 void setName(QName name)
          QName of header.
 void setOut(boolean out)
          Sets direction to output, if the argument is true.
 void setType(QName type)
          QName of header type.
 

Method Detail

getName

public QName getName()
QName of header. For literal use.

Returns:
QName of header

setName

public void setName(QName name)
QName of header. For literal use.

Parameters:
name - QName of header

getType

public QName getType()
QName of header type. For encoded use.

Returns:
QName of header type

setType

public void setType(QName type)
QName of header type. For encoded use.

Parameters:
type - QName of header type

setClazz

public void setClazz(java.lang.String clazz)
Class name from which schem for this header will be generated.

Parameters:
clazz - class name

getClazz

public java.lang.String getClazz()
Class name from which schem for this header will be generated.

Returns:
class name

setIn

public void setIn(boolean in)
Sets direction to input, if the argument is true. Note that both diretions can be enabled at the same time, which is the default setting.

Parameters:
in - true to enable "in" direction

setOut

public void setOut(boolean out)
Sets direction to output, if the argument is true. Note that both diretions can be enabled at the same time, which is the default setting.

Parameters:
out - true to enable "out" direction

isIn

public boolean isIn()
Tests if this header has "in" direction.

Returns:
true if header has "in" direction set (or both)

isOut

public boolean isOut()
Tests if this header has "out" direction.

Returns:
true if header has "out" direction set (or both)