com.abra.j2xb.beans.model
Class MOExceptionTracePropertyDescriptor
java.lang.Object
com.abra.j2xb.beans.model.MOAbstractPropertyDescriptor
com.abra.j2xb.beans.model.MOValuePropertyDescriptor
com.abra.j2xb.beans.model.MOPropertyDescriptor
com.abra.j2xb.beans.model.MOExceptionTracePropertyDescriptor
- All Implemented Interfaces:
- MOAnnotationLocation, MOJavaValueDescriptor
public class MOExceptionTracePropertyDescriptor
- extends MOPropertyDescriptor
This property descriptor maps the exception stack trace as a string.
- Since:
- JDK1.5, J2XB 1.1
- Version:
- 1.0, Jun 1, 2008
- Author:
- Yoav Abrahami
| Methods inherited from class com.abra.j2xb.beans.model.MOPropertyDescriptor |
findPropertyByPath, getBeansFactory, getBeanValueBeanDescriptor, getConstructorFacade, getDefaultValue, getLocation, getPropertyBeanDescriptor, getPropertyMetaType, getSimpleTypeDescriptors, isCompatibleClasses, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MOExceptionTracePropertyDescriptor
public MOExceptionTracePropertyDescriptor(java.beans.PropertyDescriptor propertyDescriptor,
MOBeanDescriptor beanDescriptor)
getXmlName
public java.lang.String getXmlName()
- Specified by:
getXmlName in interface MOJavaValueDescriptor- Specified by:
getXmlName in class MOPropertyDescriptor
getXmlOrder
public int getXmlOrder()
- Specified by:
getXmlOrder in class MOPropertyDescriptor
isChoice
public boolean isChoice()
- Specified by:
isChoice in class MOPropertyDescriptor
isXmlAttribute
public boolean isXmlAttribute()
- Specified by:
isXmlAttribute in interface MOJavaValueDescriptor- Specified by:
isXmlAttribute in class MOPropertyDescriptor
getDefaultValueAsString
public java.lang.String getDefaultValueAsString()
- Specified by:
getDefaultValueAsString in interface MOJavaValueDescriptor- Specified by:
getDefaultValueAsString in class MOPropertyDescriptor
getGroupByName
public java.lang.String getGroupByName()
- Specified by:
getGroupByName in class MOPropertyDescriptor
getGroupByGroupingPropertyXmlName
public java.lang.String getGroupByGroupingPropertyXmlName()
- Specified by:
getGroupByGroupingPropertyXmlName in class MOPropertyDescriptor
getGroupByObjectPropertyName
public java.lang.String getGroupByObjectPropertyName()
- Specified by:
getGroupByObjectPropertyName in class MOPropertyDescriptor
isXmlOptional
public boolean isXmlOptional()
- Specified by:
isXmlOptional in interface MOJavaValueDescriptor- Specified by:
isXmlOptional in class MOPropertyDescriptor
getEnumSetDefaults
public java.lang.String[] getEnumSetDefaults()
- Specified by:
getEnumSetDefaults in interface MOJavaValueDescriptor- Specified by:
getEnumSetDefaults in class MOPropertyDescriptor
getValidationString
public MOValidationString getValidationString()
- Specified by:
getValidationString in interface MOJavaValueDescriptor- Specified by:
getValidationString in class MOPropertyDescriptor
getValidationCollection
public MOValidationCollection getValidationCollection()
- Specified by:
getValidationCollection in interface MOJavaValueDescriptor- Specified by:
getValidationCollection in class MOPropertyDescriptor
getCollectionItemClass
public java.lang.Class<?> getCollectionItemClass()
- Specified by:
getCollectionItemClass in interface MOJavaValueDescriptor- Specified by:
getCollectionItemClass in class MOPropertyDescriptor
getCollectionCustomSort
public MOCollectionCustomSort getCollectionCustomSort()
- Specified by:
getCollectionCustomSort in class MOPropertyDescriptor
getCollectionSort
public MOCollectionSort getCollectionSort()
- Specified by:
getCollectionSort in class MOPropertyDescriptor
isXmlListStyle
public boolean isXmlListStyle()
- Specified by:
isXmlListStyle in interface MOJavaValueDescriptor- Specified by:
isXmlListStyle in class MOPropertyDescriptor
isXmlValueUnion
public boolean isXmlValueUnion()
- Specified by:
isXmlValueUnion in interface MOJavaValueDescriptor- Specified by:
isXmlValueUnion in class MOPropertyDescriptor
isChoiceProperty
public boolean isChoiceProperty()
- Specified by:
isChoiceProperty in class MOPropertyDescriptor
getChoiceDiscriminator
public java.lang.String getChoiceDiscriminator()
- Specified by:
getChoiceDiscriminator in class MOPropertyDescriptor
getChoiceOptions
public java.lang.String[] getChoiceOptions()
- Specified by:
getChoiceOptions in class MOPropertyDescriptor
getValueType
public java.lang.Class<?> getValueType()
- Specified by:
getValueType in interface MOAnnotationLocation- Specified by:
getValueType in interface MOJavaValueDescriptor- Specified by:
getValueType in class MOPropertyDescriptor
isXmlGlobalBeanRef
public boolean isXmlGlobalBeanRef()
isSetGlobalType
public boolean isSetGlobalType()
- Specified by:
isSetGlobalType in class MOPropertyDescriptor
getGlobalTypeName
public java.lang.String getGlobalTypeName()
- Specified by:
getGlobalTypeName in class MOPropertyDescriptor
getXmlNamespace
public MOXmlNamespace getXmlNamespace()
- Specified by:
getXmlNamespace in class MOPropertyDescriptor
getXmlNamespaceRef
public MOXmlNamespaceRef getXmlNamespaceRef()
- Specified by:
getXmlNamespaceRef in class MOPropertyDescriptor
getXmlDerivedType
public MOXmlDerivedType getXmlDerivedType()
- Specified by:
getXmlDerivedType in class MOPropertyDescriptor
getValue
public java.lang.Object getValue(java.lang.Object instance)
throws MOBeansPropertyAccessException,
MOBeansPropertyMethodNotFound
- override the getValue method with a special case handler that transforms the stack trace into a string
- Overrides:
getValue in class MOPropertyDescriptor
- Parameters:
instance - - the exception instance
- Returns:
- stack trace as string
- Throws:
MOBeansPropertyAccessException
MOBeansPropertyMethodNotFound
Copyright © 2008. All Rights Reserved.