public class ModelAnnotation extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
attributes |
protected String |
name |
| Constructor and Description |
|---|
ModelAnnotation(String name,
Map<String,String> attributes) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute(AnnotationAttributeType attribute) |
List<String> |
getAttributeAsArray(AnnotationAttributeType attribute) |
boolean |
getAttributeAsBoolean(AnnotationAttributeType attribute) |
String |
getAttributeAsClassName(AnnotationAttributeType attribute) |
int |
getAttributeAsInt(AnnotationAttributeType attribute) |
int |
getAttributeCount() |
String |
getName() |
String |
getSimpleName() |
public String getName()
public String getAttribute(AnnotationAttributeType attribute)
public int getAttributeCount()
public String getSimpleName()
public String getAttributeAsClassName(AnnotationAttributeType attribute)
public boolean getAttributeAsBoolean(AnnotationAttributeType attribute)
public List<String> getAttributeAsArray(AnnotationAttributeType attribute)
public int getAttributeAsInt(AnnotationAttributeType attribute)
Copyright © 2017. All rights reserved.