Top Description Methods
javax.portlet.annotations

public @Interface Preference

extends Annotation
Annotations
@Retention:RUNTIME
@Target:ANNOTATION_TYPE
Imports
java.lang.annotation.Retention, .Target

This annotation is used within composite portlet configuration annotations to represent a single portlet preference. It cannot be used as a stand-alone portlet annotation.
Since
3.0

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

The read-only flag
isReadOnly
()

Marks the preference as being read-only.
public String

Returns:

The preference name
name
()

The preference name.
public String[]

Returns:

The preference values.
values
()

The preference values array.
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

isReadOnlyback to summary
public boolean isReadOnly()

Marks the preference as being read-only.
Returns:boolean

The read-only flag

nameback to summary
public String name()

The preference name.
Returns:String

The preference name

valuesback to summary
public String[] values()

The preference values array.
Returns:String[]

The preference values.