com.abra.j2xb.beans.model
Class MOChoicePropertyDescriptor

java.lang.Object
  extended by com.abra.j2xb.beans.model.MOAbstractPropertyDescriptor
      extended by com.abra.j2xb.beans.model.MOValuePropertyDescriptor
          extended by com.abra.j2xb.beans.model.MOChoicePropertyDescriptor

public class MOChoicePropertyDescriptor
extends MOValuePropertyDescriptor

Since:
JDK1.5
Version:
1.0, May 1, 2008
Author:
Yoav Abrahami

Nested Class Summary
 class MOChoicePropertyDescriptor.OptionDescriptor
           
 
Field Summary
 
Fields inherited from class com.abra.j2xb.beans.model.MOAbstractPropertyDescriptor
group
 
Constructor Summary
MOChoicePropertyDescriptor(java.beans.PropertyDescriptor propertyDescriptor, MOBeanDescriptor beanDescriptor)
           
 
Method Summary
 void addProperty(MOAnnotationBasedPropertyDescriptor property)
           
 java.util.Map<java.lang.String,MOChoicePropertyDescriptor.OptionDescriptor> getChoiceOptions()
           
 int getXmlOrder()
           
 boolean isChoice()
           
 boolean isIncludedInChoice(MOPropertyDescriptor property)
           
 boolean isXmlOptional()
           
 
Methods inherited from class com.abra.j2xb.beans.model.MOAbstractPropertyDescriptor
getBeanDescriptor, getCanonicalName, getDefiningMethod, getGroup, getGroupPath, getJavaPropertyDescriptor, getName, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MOChoicePropertyDescriptor

public MOChoicePropertyDescriptor(java.beans.PropertyDescriptor propertyDescriptor,
                                  MOBeanDescriptor beanDescriptor)
Method Detail

isIncludedInChoice

public boolean isIncludedInChoice(MOPropertyDescriptor property)

addProperty

public void addProperty(MOAnnotationBasedPropertyDescriptor property)

getChoiceOptions

public java.util.Map<java.lang.String,MOChoicePropertyDescriptor.OptionDescriptor> getChoiceOptions()

getXmlOrder

public int getXmlOrder()
Specified by:
getXmlOrder in class MOValuePropertyDescriptor

isChoice

public boolean isChoice()
Specified by:
isChoice in class MOValuePropertyDescriptor

isXmlOptional

public boolean isXmlOptional()
Specified by:
isXmlOptional in class MOValuePropertyDescriptor


Copyright © 2008. All Rights Reserved.