|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ofx4j.io.AggregateInfo
public class AggregateInfo
Holder for meta information about an aggregate class.
Method Summary | |
---|---|
AggregateAttribute |
getAttribute(java.lang.String name,
int orderHint)
Get the attribute by the specified name. |
java.util.SortedSet<AggregateAttribute> |
getAttributes()
The attributes. |
java.util.Map<java.lang.String,java.lang.Object> |
getHeaders(java.lang.Object instance)
Get the headers defined by the specific aggregate instance. |
java.lang.Class |
getHeaderType(java.lang.String name)
The type of the specified header. |
java.lang.String |
getName()
The name of the aggregate. |
boolean |
hasHeaders()
Whether this aggregate has headers. |
void |
setHeader(java.lang.Object instance,
java.lang.String name,
java.lang.Object value)
Set the header value for the specified instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getName()
public java.util.SortedSet<AggregateAttribute> getAttributes()
public AggregateAttribute getAttribute(java.lang.String name, int orderHint)
name
- The name of the attribute.orderHint
- The order at which the attribute should come after in case there are more than one candidates.
public boolean hasHeaders()
public java.util.Map<java.lang.String,java.lang.Object> getHeaders(java.lang.Object instance)
instance
- The aggregate instance.
public java.lang.Class getHeaderType(java.lang.String name)
name
- The header name.
public void setHeader(java.lang.Object instance, java.lang.String name, java.lang.Object value)
instance
- The instance.name
- The name of the header.value
- the value of the header.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |