public enum SimpleType extends Enum<SimpleType> implements ISchemaType
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
CHARACTER |
DOUBLE |
FLOAT |
INTEGER |
LONG |
SHORT |
STRING |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(ISchemaProperty property) |
IAnnotationModel |
getAnnotation(String name) |
List<IAnnotationModel> |
getAnnotations() |
String |
getClassName() |
String |
getClassQualifiedName() |
JAXBClassMapping |
getMapping() |
String |
getName() |
Map<String,String> |
getNamespaces() |
StructureType |
getParentStructureType() |
List<ISchemaProperty> |
getProperties() |
String |
getQualifiedPropertyName(ISchemaProperty prop) |
boolean |
isComplex() |
boolean |
isSimple() |
static SimpleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleType INTEGER
public static final SimpleType LONG
public static final SimpleType SHORT
public static final SimpleType BYTE
public static final SimpleType DOUBLE
public static final SimpleType FLOAT
public static final SimpleType BOOLEAN
public static final SimpleType CHARACTER
public static final SimpleType STRING
public static SimpleType[] values()
for (SimpleType c : SimpleType.values()) System.out.println(c);
public static SimpleType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isSimple()
isSimple in interface ISchemaTypepublic boolean isComplex()
isComplex in interface ISchemaTypepublic List<ISchemaProperty> getProperties()
getProperties in interface ISchemaTypepublic String getName()
getName in interface ISchemaTypepublic Map<String,String> getNamespaces()
getNamespaces in interface ISchemaTypepublic String getQualifiedPropertyName(ISchemaProperty prop)
getQualifiedPropertyName in interface ISchemaTypepublic String getClassName()
getClassName in interface ISchemaTypepublic String getClassQualifiedName()
getClassQualifiedName in interface ISchemaTypepublic StructureType getParentStructureType()
getParentStructureType in interface ISchemaTypepublic JAXBClassMapping getMapping()
getMapping in interface ISchemaTypepublic List<IAnnotationModel> getAnnotations()
getAnnotations in interface ISchemaTypepublic IAnnotationModel getAnnotation(String name)
getAnnotation in interface ISchemaTypepublic void addProperty(ISchemaProperty property)
addProperty in interface ISchemaTypeCopyright © 2015 Mulesoft. All rights reserved.