public class NullSafeTypeAnnotation extends Object implements org.mule.metadata.api.annotation.TypeAnnotation
TypeAnnotation meant to be applied on ObjectFieldType instances. It marks such field as NullSafe and
contains the type of the value which should be created if such field is not provided| Constructor and Description |
|---|
NullSafeTypeAnnotation(Class<?> type,
boolean defaultOverride)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
Class<?> |
getType() |
boolean |
hasDefaultOverride() |
boolean |
isPublic() |
public NullSafeTypeAnnotation(Class<?> type, boolean defaultOverride)
type - the type of the default value to be createddefaultOverride - whether the default implementing class has been overriden or notpublic Class<?> getType()
public boolean hasDefaultOverride()
public String getName()
getName in interface org.mule.metadata.api.annotation.TypeAnnotationpublic boolean isPublic()
isPublic in interface org.mule.metadata.api.annotation.TypeAnnotationfalseCopyright © 2017 MuleSoft, Inc.. All rights reserved.