org.apache.camel.model
Class OptionalIdentifiedType<T extends OptionalIdentifiedType>
java.lang.Object
org.apache.camel.model.OptionalIdentifiedType<T>
- Direct Known Subclasses:
- FromType, ProcessorType, RoutesType
public abstract class OptionalIdentifiedType<T extends OptionalIdentifiedType>
- extends Object
Allows an element to have an optional ID specified
- Version:
- $Revision: 41788 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodeCounter
protected static AtomicInteger nodeCounter
OptionalIdentifiedType
public OptionalIdentifiedType()
getId
public String getId()
- Gets the value of the id property.
- Returns:
- possible object is
String
setId
public void setId(String value)
- Sets the value of the id property.
- Parameters:
value
- allowed object is
String
getDescription
public Description getDescription()
setDescription
public void setDescription(Description description)
description
public T description(String text)
description
public T description(String text,
String lang)
id
public T id(String id)
idOrCreate
public String idOrCreate()
Copyright © 2008 IONA Open Source Community. All Rights Reserved.