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) |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static ServiceType._Builder |
builder() |
int |
compareTo(ServiceType other) |
PStructDescriptor<ServiceType,ServiceType._Field> |
descriptor() |
boolean |
equals(Object o) |
Object |
get(int key) |
String |
getComment() |
String |
getExtend() |
List<ServiceMethod> |
getMethods() |
String |
getName() |
boolean |
has(int key) |
boolean |
hasComment() |
boolean |
hasExtend() |
int |
hashCode() |
boolean |
hasName() |
boolean |
isCompact() |
boolean |
isSimple() |
ServiceType._Builder |
mutate() |
int |
num(int key) |
int |
numMethods() |
static PStructDescriptorProvider<ServiceType,ServiceType._Field> |
provider() |
String |
toString() |
public static final PStructDescriptor<ServiceType,ServiceType._Field> kDescriptor
public ServiceType(String pComment, String pName, String pExtend, List<ServiceMethod> pMethods)
public boolean hasComment()
public String getComment()
public boolean hasName()
public String getName()
public boolean hasExtend()
public String getExtend()
public int numMethods()
public List<ServiceMethod> getMethods()
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 isCompact()
isCompact in interface PMessage<ServiceType>public boolean isSimple()
isSimple in interface PMessage<ServiceType>public String asString()
asString in interface PMessage<ServiceType>public 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.