public class ServiceType extends Object implements PMessage<ServiceType>, Serializable, Comparable<ServiceType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceType._Builder |
static class |
ServiceType._Field |
| Modifier and Type | Field and Description |
|---|---|
static PStructDescriptor<ServiceType,ServiceType._Field> |
kDescriptor |
| Constructor and Description |
|---|
ServiceType(String pComment,
String pName,
String pExtend,
List<ServiceMethod> pMethods,
Map<String,String> pAnnotations) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static ServiceType._Builder |
builder()
Make a model.ServiceType builder.
|
boolean |
compact() |
int |
compareTo(ServiceType other) |
PStructDescriptor<ServiceType,ServiceType._Field> |
descriptor() |
boolean |
equals(Object o) |
Object |
get(int key) |
Map<String,String> |
getAnnotations() |
String |
getComment() |
String |
getExtend() |
List<ServiceMethod> |
getMethods() |
String |
getName() |
boolean |
has(int key) |
boolean |
hasAnnotations() |
boolean |
hasComment() |
boolean |
hasExtend() |
int |
hashCode() |
boolean |
hasMethods() |
boolean |
hasName() |
ServiceType._Builder |
mutate() |
int |
num(int key) |
int |
numAnnotations() |
int |
numMethods() |
static PStructDescriptorProvider<ServiceType,ServiceType._Field> |
provider() |
String |
toString() |
public static final PStructDescriptor<ServiceType,ServiceType._Field> kDescriptor
public boolean hasComment()
public String getComment()
public boolean hasName()
public String getName()
public boolean hasExtend()
public String getExtend()
public int numMethods()
public boolean hasMethods()
public List<ServiceMethod> getMethods()
public int numAnnotations()
public boolean hasAnnotations()
public boolean has(int key)
has in interface PMessage<ServiceType>public int num(int key)
num in interface PMessage<ServiceType>public Object get(int key)
get in interface PMessage<ServiceType>public boolean compact()
compact in interface PMessage<ServiceType>public String asString()
asString in interface PMessage<ServiceType>asString in interface net.morimekta.util.Stringablepublic int compareTo(ServiceType other)
compareTo in interface Comparable<ServiceType>public static PStructDescriptorProvider<ServiceType,ServiceType._Field> provider()
public PStructDescriptor<ServiceType,ServiceType._Field> descriptor()
descriptor in interface PMessage<ServiceType>descriptor in interface PValue<ServiceType>public ServiceType._Builder mutate()
mutate in interface PMessage<ServiceType>public static ServiceType._Builder builder()
Copyright © 2016. All rights reserved.