public class AnnotationAttachment extends Object
Constructor and Description |
---|
AnnotationAttachment() |
Modifier and Type | Method and Description |
---|---|
static AnnotationAttachment |
convertToPackageModel(AttachPoint annotationAttachment)
Converts a
AnnotationAttachment to AnnotationAttachment . |
static AnnotationAttachment |
convertToPackageModel(BLangAnnotationAttachment annotationAttachment) |
String |
getAttachedPoint() |
Map<String,AnnotationAttributeValue> |
getAttributeNameValPairs() |
String |
getFileName() |
String |
getName() |
String |
getPackageName() |
String |
getPackagePath() |
void |
setAttachedPoint(String attachedPoint) |
void |
setAttributeNameValPairs(Map<String,AnnotationAttributeValue> attributeNameValPairs) |
void |
setFileName(String fileName) |
void |
setName(String name) |
void |
setPackageName(String packageName) |
void |
setPackagePath(String packagePath) |
String |
toString() |
public String getName()
public void setName(String name)
public String getPackageName()
public void setPackageName(String packageName)
public String getPackagePath()
public void setPackagePath(String packagePath)
public String getAttachedPoint()
public void setAttachedPoint(String attachedPoint)
public Map<String,AnnotationAttributeValue> getAttributeNameValPairs()
public void setAttributeNameValPairs(Map<String,AnnotationAttributeValue> attributeNameValPairs)
public static AnnotationAttachment convertToPackageModel(AttachPoint annotationAttachment)
AnnotationAttachment
to AnnotationAttachment
.annotationAttachment
- The langconstruct to be converted.public static AnnotationAttachment convertToPackageModel(BLangAnnotationAttachment annotationAttachment)
public String getFileName()
public void setFileName(String fileName)
Copyright © 2018 WSO2. All rights reserved.