public class ParentPropertyAnnotation extends Object implements ParentProperty
ParentProperty
annotation.
Constructor and Description |
---|
ParentPropertyAnnotation(Field on)
Constructor.
|
ParentPropertyAnnotation(Method on)
Constructor.
|
ParentPropertyAnnotation(String on)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
annotationType() |
String |
on() |
ParentPropertyAnnotation |
on(Field value)
Sets the
|
ParentPropertyAnnotation |
on(Method value)
Sets the
|
ParentPropertyAnnotation |
on(String value)
Sets the
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, toString
public ParentPropertyAnnotation(String on)
on
- The initial value for the ParentProperty.on()
public ParentPropertyAnnotation(Method on)
on
- The initial value for the ParentProperty.on()
public ParentPropertyAnnotation(Field on)
on
- The initial value for the ParentProperty.on()
public Class<? extends Annotation> annotationType()
annotationType
in interface Annotation
public ParentPropertyAnnotation on(String value)
value
- The new value for this property.public ParentPropertyAnnotation on(Method value)
value
- The new value for this property.public ParentPropertyAnnotation on(Field value)
value
- The new value for this property.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.