public static class AnnotationInfo.Builder extends Object
Constructor and Description |
---|
Builder()
Constructs a builder for a new AnnotationInfo
|
public AnnotationInfo.Builder withRiakKeyField(Field f)
f
- the annotated fieldpublic AnnotationInfo.Builder withRiakKeyGetter(Method m)
m
- the annotated methodpublic AnnotationInfo.Builder withRiakKeySetter(Method m)
m
- the annotated setterpublic AnnotationInfo.Builder withRiakLinksField(Field f)
f
- the annotated fieldpublic AnnotationInfo.Builder withRiakLinksGetter(Method m)
m
- the annotated methodpublic AnnotationInfo.Builder withRiakLinksSetter(Method m)
m
- the annotated methodpublic AnnotationInfo.Builder addRiakUsermetaField(Field f)
f
- the annotated field.public AnnotationInfo.Builder addRiakUsermetaMethod(Method m)
m
- the annotated methodpublic AnnotationInfo.Builder addRiakIndexMethod(Method m)
m
- the annotated methodpublic AnnotationInfo.Builder addRiakIndexField(Field f)
f
- the annotated fieldpublic AnnotationInfo.Builder withRiakVClockField(Field f)
f
- the annotated fieldpublic AnnotationInfo.Builder withRiakVClockSetter(Method m)
m
- the annotated method.public AnnotationInfo.Builder withRiakVClockGetter(Method m)
m
- the annotated methodpublic AnnotationInfo.Builder withRiakTombstoneField(Field f)
public AnnotationInfo.Builder withRiakTombstoneSetter(Method m)
public AnnotationInfo.Builder withRiakTombstoneGetter(Method m)
public AnnotationInfo.Builder withRiakContentTypeField(Field f)
public AnnotationInfo.Builder withRiakContentTypeSetter(Method m)
public AnnotationInfo.Builder withRiakContentTypeGetter(Method m)
public AnnotationInfo.Builder withRiakLastModifiedField(Field f)
public AnnotationInfo.Builder withRiakLastModifiedSetter(Method m)
public AnnotationInfo.Builder withRiakVTagField(Field f)
public AnnotationInfo.Builder withRiakVTagSetter(Method m)
public AnnotationInfo.Builder withRiakBucketNameField(Field f)
public AnnotationInfo.Builder withRiakBucketNameSetter(Method m)
public AnnotationInfo.Builder withRiakBucketNameGetter(Method m)
public AnnotationInfo.Builder withRiakBucketTypeField(Field f)
public AnnotationInfo.Builder withRiakBucketTypeSetter(Method m)
public AnnotationInfo.Builder withRiakBucketTypeGetter(Method m)
public AnnotationInfo build()
Copyright © 2016. All rights reserved.