public class Metadata extends Object
FreeBuilder type.| Modifier and Type | Class and Description |
|---|---|
static class |
Metadata.Builder
Builder for
Metadata. |
static class |
Metadata.Property
Metadata about a property of a
Metadata. |
static class |
Metadata.StandardMethod
Standard Java methods that may be underridden.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
TypeElement |
getBuilder()
Returns the builder type that users will see.
|
com.google.common.base.Optional<BuilderFactory> |
getBuilderFactory()
Returns the builder factory mechanism the user has exposed, if any.
|
ImpliedClass |
getGeneratedBuilder()
Returns the builder class that should be generated.
|
PackageElement |
getPackage()
Returns the package the type is in.
|
ImpliedClass.ImpliedNestedClass |
getPartialType()
Returns the partial value class that should be generated.
|
List<Metadata.Property> |
getProperties()
Returns metadata about the properies of the type.
|
ImpliedClass.ImpliedNestedClass |
getPropertyEnum()
Returns the Property enum that may be generated.
|
TypeElement |
getType()
Returns the type itself.
|
Set<Metadata.StandardMethod> |
getUnderriddenMethods() |
ImpliedClass.ImpliedNestedClass |
getValueType()
Returns the value class that should be generated.
|
int |
hashCode() |
boolean |
isBuilderSerializable()
Returns whether the builder type should be serializable.
|
boolean |
isGwtSerializable()
Returns whether the type (and hence the generated value type) is GWT serializable.
|
String |
toString() |
public PackageElement getPackage()
public TypeElement getType()
public TypeElement getBuilder()
public com.google.common.base.Optional<BuilderFactory> getBuilderFactory()
public ImpliedClass getGeneratedBuilder()
public ImpliedClass.ImpliedNestedClass getValueType()
public ImpliedClass.ImpliedNestedClass getPartialType()
public ImpliedClass.ImpliedNestedClass getPropertyEnum()
public List<Metadata.Property> getProperties()
public Set<Metadata.StandardMethod> getUnderriddenMethods()
public boolean isBuilderSerializable()
public boolean isGwtSerializable()
Copyright © 2015 Google, Inc.. All rights reserved.