Class DeleteOnNoLinks
java.lang.Object
com.swiftmq.amqp.v100.types.AMQPType
com.swiftmq.amqp.v100.types.AMQPList
com.swiftmq.amqp.v100.generated.messaging.addressing.DeleteOnNoLinks
- All Implemented Interfaces:
LifetimePolicyIF
A node dynamically created with this lifetime policy will be deleted at the point that there remain no links for which the node is either the source or target.
- Version:
- AMQP Version v100. Generation Date: Wed Apr 18 14:09:32 CEST 2012
- Author:
- IIT Software GmbH, Bremen/Germany, (c) 2012, All Rights Reserved
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a DeleteOnNoLinks.DeleteOnNoLinks
(List initValue) Constructs a DeleteOnNoLinks. -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(LifetimePolicyVisitor visitor) Accept method for a LifetimePolicy visitor.Returns an array constructor (internal use)int
Returns the predicted size of this DeleteOnNoLinks.Returns the value string representation of the type.boolean
Return whether this DeleteOnNoLinks has a descriptortoString()
void
writeContent
(DataOutput out) Write the content of this type to a DataOutput.Methods inherited from class com.swiftmq.amqp.v100.types.AMQPList
getValue, readContent, setValue
Methods inherited from class com.swiftmq.amqp.v100.types.AMQPType
getCode, getConstructor, getName, isWriteCode, resetConstructor, setCode, setConstructor, setWriteCode
-
Field Details
-
DESCRIPTOR_NAME
-
DESCRIPTOR_CODE
public static long DESCRIPTOR_CODE -
codeConstructor
-
nameConstructor
-
-
Constructor Details
-
DeleteOnNoLinks
Constructs a DeleteOnNoLinks.- Parameters:
initValue
- initial value
-
DeleteOnNoLinks
public DeleteOnNoLinks()Constructs a DeleteOnNoLinks.
-
-
Method Details
-
hasDescriptor
public boolean hasDescriptor()Return whether this DeleteOnNoLinks has a descriptor- Overrides:
hasDescriptor
in classAMQPType
- Returns:
- true/false
-
accept
Accept method for a LifetimePolicy visitor.- Specified by:
accept
in interfaceLifetimePolicyIF
- Parameters:
visitor
- LifetimePolicy visitor
-
getPredictedSize
public int getPredictedSize()Returns the predicted size of this DeleteOnNoLinks. The predicted size may be greater than the actual size but it can never be less.- Specified by:
getPredictedSize
in interfaceLifetimePolicyIF
- Overrides:
getPredictedSize
in classAMQPList
- Returns:
- predicted size
-
getArrayConstructor
Returns an array constructor (internal use)- Returns:
- array constructor
- Throws:
IOException
-
writeContent
Description copied from class:AMQPType
Write the content of this type to a DataOutput.- Overrides:
writeContent
in classAMQPList
- Parameters:
out
- DataOutput- Throws:
IOException
- on error
-
getValueString
Description copied from class:AMQPType
Returns the value string representation of the type.- Specified by:
getValueString
in interfaceLifetimePolicyIF
- Overrides:
getValueString
in classAMQPList
- Returns:
- value string
-
toString
-