R
- The return type of this visitor's methods. Use
Void
for visitors that do not need to
return results.P
- The type of the additional parameter to this visitor's
methods. Use Void
for visitors that do
not need an additional parameter.public abstract class PropertyDefinitionVisitor<R,P> extends Object
Each visitXXX
method is provided with a default
implementation which calls
visitUnknown(PropertyDefinition, Object)
. Sub-classes can
override any or all of the methods to provide their own
type-specific behavior.
Modifier | Constructor and Description |
---|---|
protected |
PropertyDefinitionVisitor()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
R |
visitACI(ACIPropertyDefinition pd,
P p)
Visit a dseecompat Global ACI property definition.
|
<C extends ConfigurationClient,S extends Configuration> |
visitAggregation(AggregationPropertyDefinition<C,S> pd,
P p)
Visit an aggregation property definition.
|
R |
visitAttributeType(AttributeTypePropertyDefinition pd,
P p)
Visit an attribute type property definition.
|
R |
visitBoolean(BooleanPropertyDefinition pd,
P p)
Visit a boolean property definition.
|
R |
visitClass(ClassPropertyDefinition pd,
P p)
Visit a class property definition.
|
R |
visitDN(DNPropertyDefinition pd,
P p)
Visit a DN property definition.
|
R |
visitDuration(DurationPropertyDefinition pd,
P p)
Visit a duration property definition.
|
<E extends Enum<E>> |
visitEnum(EnumPropertyDefinition<E> pd,
P p)
Visit an enumeration property definition.
|
R |
visitInteger(IntegerPropertyDefinition pd,
P p)
Visit an integer property definition.
|
R |
visitIPAddress(IPAddressPropertyDefinition pd,
P p)
Visit a IP address property definition.
|
R |
visitIPAddressMask(IPAddressMaskPropertyDefinition pd,
P p)
Visit a IP address mask property definition.
|
R |
visitSize(SizePropertyDefinition pd,
P p)
Visit a size property definition.
|
R |
visitString(StringPropertyDefinition pd,
P p)
Visit a string property definition.
|
<T> R |
visitUnknown(PropertyDefinition<T> pd,
P p)
Visit an unknown type of property definition.
|
protected PropertyDefinitionVisitor()
public R visitACI(ACIPropertyDefinition pd, P p)
pd
- The Global ACI property definition to visit.p
- A visitor specified parameter.public <C extends ConfigurationClient,S extends Configuration> R visitAggregation(AggregationPropertyDefinition<C,S> pd, P p)
C
- The type of client managed object configuration that
this aggregation property definition refers to.S
- The type of server managed object configuration that
this aggregation property definition refers to.pd
- The aggregation property definition to visit.p
- A visitor specified parameter.public R visitAttributeType(AttributeTypePropertyDefinition pd, P p)
pd
- The attribute type property definition to visit.p
- A visitor specified parameter.public R visitBoolean(BooleanPropertyDefinition pd, P p)
pd
- The boolean property definition to visit.p
- A visitor specified parameter.public R visitClass(ClassPropertyDefinition pd, P p)
pd
- The class property definition to visit.p
- A visitor specified parameter.public R visitDN(DNPropertyDefinition pd, P p)
pd
- The DN property definition to visit.p
- A visitor specified parameter.public R visitDuration(DurationPropertyDefinition pd, P p)
pd
- The duration property definition to visit.p
- A visitor specified parameter.public <E extends Enum<E>> R visitEnum(EnumPropertyDefinition<E> pd, P p)
E
- The enumeration that should be used for values of the
property definition.pd
- The enumeration property definition to visit.p
- A visitor specified parameter.public R visitInteger(IntegerPropertyDefinition pd, P p)
pd
- The integer property definition to visit.p
- A visitor specified parameter.public R visitIPAddress(IPAddressPropertyDefinition pd, P p)
pd
- The IP address property definition to visit.p
- A visitor specified parameter.public R visitIPAddressMask(IPAddressMaskPropertyDefinition pd, P p)
pd
- The IP address mask property definition to visit.p
- A visitor specified parameter.public R visitSize(SizePropertyDefinition pd, P p)
pd
- The size property definition to visit.p
- A visitor specified parameter.public R visitString(StringPropertyDefinition pd, P p)
pd
- The string property definition to visit.p
- A visitor specified parameter.public <T> R visitUnknown(PropertyDefinition<T> pd, P p) throws PropertyException
The default implementation of this method throws an
PropertyException
. Sub-classes can
override this method with their own default behavior.
T
- The type of the underlying property.pd
- The property definition to visit.p
- A visitor specified parameter.PropertyException
- Visitor implementations may optionally throw this
exception.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.