DECORATEE
- The Transmission
type describing the
Transmission
subclass to be enriched.Serializable
, org.refcodes.mixin.DecorateeAccessor<DECORATEE>
, org.refcodes.mixin.LengthAccessor
, Transmission
, Transmission.TransmissionMixin
AbstractCipherTransmissionDecorator
, AbstractInvertibleTransmissionDecorator
, AbstractSectionDecorator
, AbstractSegmentDecorator
, AllocSegmentBody
, BreakerSectionDecorator
, BreakerSegmentDecorator
public abstract class AbstractTransmissionDecorator<DECORATEE extends Transmission> extends Object implements Transmission, Transmission.TransmissionMixin, org.refcodes.mixin.DecorateeAccessor<DECORATEE>
Transmission
decorating another
Transmission
.org.refcodes.mixin.DecorateeAccessor.DecorateeBuilder<DECORATEE extends Object,B extends org.refcodes.mixin.DecorateeAccessor.DecorateeBuilder<DECORATEE,B>>, org.refcodes.mixin.DecorateeAccessor.DecorateeMutator<DECORATEE extends Object>, org.refcodes.mixin.DecorateeAccessor.DecorateeProperty<DECORATEE extends Object>
org.refcodes.mixin.LengthAccessor.LengthBuilder<B extends org.refcodes.mixin.LengthAccessor.LengthBuilder<B>>, org.refcodes.mixin.LengthAccessor.LengthMutator, org.refcodes.mixin.LengthAccessor.LengthProperty
Transmission.TransmissionMixin
Modifier and Type | Field | Description |
---|---|---|
protected DECORATEE |
_decoratee |
Modifier | Constructor | Description |
---|---|---|
protected |
AbstractTransmissionDecorator() |
Constructs an empty
DecoratorSegment . |
|
AbstractTransmissionDecorator(DECORATEE aDecoratee) |
Constructs a
DecoratorSegment instance with the given decoratee. |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object obj) |
|
DECORATEE |
getDecoratee() |
|
int |
getLength() |
Determines the overall length of this
Transmission . |
int |
hashCode() |
|
org.refcodes.struct.SimpleTypeMap |
toSimpleTypeMap() |
Returns the
SimpleTypeMap representation of this
Transmission . |
String |
toString() |
|
Sequence |
toTransmission() |
Provides the
Sequence representation of this
Transmission . |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
fromInputStream, toSchema, transmitTo, transmitTo
transmitTo
protected DECORATEE extends Transmission _decoratee
protected AbstractTransmissionDecorator()
DecoratorSegment
.public AbstractTransmissionDecorator(DECORATEE aDecoratee)
DecoratorSegment
instance with the given decoratee.aDecoratee
- The decoratee to be contained by this facade.public int getLength()
Transmission
. In case of
nested Transmission
instances, all length values from all
sub-segments are accumulated to the result as well.getLength
in interface org.refcodes.mixin.LengthAccessor
getLength
in interface Transmission
Transmission
(including any
sub-segments).public Sequence toTransmission()
Sequence
representation of this
Transmission
. In case of nested Transmission
instances,
all Sequence
representations from all sub-segments are
accumulated to the result as well.toTransmission
in interface Transmission
Sequence
.public DECORATEE getDecoratee()
getDecoratee
in interface org.refcodes.mixin.DecorateeAccessor<DECORATEE extends Transmission>
public org.refcodes.struct.SimpleTypeMap toSimpleTypeMap()
SimpleTypeMap
representation of this
Transmission
. In case this Transmission has Transmission
children, then the children are queried as well and contained in the
resulting SimpleTypeMap
. The aliases of the according
Transmission
instances represent the resulting path to a
Transmission
's final simple type.toSimpleTypeMap
in interface Transmission
SimpleTypeMap
representing this Transmission
and (if any) its children, with the according aliases forming the
paths to the Transmission
's values.Copyright © 2021. All rights reserved.