org.teiid.translator
Annotation Type TranslatorProperty


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface TranslatorProperty

Annotates a property that can be externally configured. The property name will be inferred from the method. Keep in mind that TranslatorProprties name are treated as case-insensitive - do not annotate two methods in the same ExecutionFactory with the same case-insensitive name.


Optional Element Summary
 boolean advanced
          True if this property should be shown in an advanced panel of properties.
 java.lang.String description
          Description to be shown in tools
 java.lang.String display
          Display name to be shown in tools
 boolean masked
          True if this is property should be masked when displayed - this has no effect on how the value is persisted.
 boolean required
          True if a non-null value must be supplied
 

description

public abstract java.lang.String description
Description to be shown in tools

Returns:
Default:
""

display

public abstract java.lang.String display
Display name to be shown in tools

Returns:
Default:
""

required

public abstract boolean required
True if a non-null value must be supplied

Returns:
Default:
false

advanced

public abstract boolean advanced
True if this property should be shown in an advanced panel of properties.

Returns:
Default:
false

masked

public abstract boolean masked
True if this is property should be masked when displayed - this has no effect on how the value is persisted.

Returns:
Default:
false


Copyright © 2011. All Rights Reserved.