com.abra.j2xb.beans.model
Class MOAnnotationBasedPropertyDescriptor
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.MOAnnotationBasedPropertyDescriptor
- All Implemented Interfaces:
- MOAnnotationLocation, MOJavaValueDescriptor
public class MOAnnotationBasedPropertyDescriptor
- extends MOPropertyDescriptor
- Since:
- JDK1.5, J2XB 1.1
- Version:
- 1.0, May 1, 2008
- Author:
- Yoav Abrahami
Methods inherited from class com.abra.j2xb.beans.model.MOPropertyDescriptor |
findPropertyByPath, getBeansFactory, getBeanValueBeanDescriptor, getConstructorFacade, getDefaultValue, getLocation, getPropertyBeanDescriptor, getPropertyMetaType, getSimpleTypeDescriptors, getValue, isCompatibleClasses, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MOAnnotationBasedPropertyDescriptor
public MOAnnotationBasedPropertyDescriptor(java.beans.PropertyDescriptor propertyDescriptor,
MOBeanDescriptor beanDescriptor)
throws MOBeansException
- Throws:
MOBeansException
generatePropertyMetaType
protected void generatePropertyMetaType()
throws MOBeansException
- Throws:
MOBeansException
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
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
isXmlGlobalBeanRef
public boolean isXmlGlobalBeanRef()
Copyright © 2008. All Rights Reserved.