Refine search
private ElementMethodGenerator(Property p, Element e) { super("element_", injectElementMethod, p, e.value()); this.e = e; }
private boolean _isKey() { Element e = getAnnotation(Element.class); if(e!=null && e.key()) return true; Attribute a = getAnnotation(Attribute.class); return a != null && a.key(); }
/** * Gets the value of the property property. * <p/> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the property property. * <p/> * <p/> * For example, to add a new item, do as follows: * <pre> * getProperty().add(newItem); * </pre> * <p/> * <p/> * <p/> * Objects of the following type(s) are allowed in the list * {@link Property } * @return the property list */ @XmlElement(name="property") @Element("property") List<Property> getProperty(); Property addProperty(Property property);
public static DescriptorSupport descriptor(final Element e) { final DescriptorSupport d = new DescriptorSupport(); d.setField(DESC_KIND, Element.class.getName()); d.setField(DESC_KEY, e.key()); d.setField(DESC_REQUIRED, e.required()); d.setField(DESC_REFERENCE, e.reference()); d.setField(DESC_VARIABLE_EXPANSION, e.variableExpansion()); return d; }
protected boolean isRequired() { return e.required(); }
protected boolean isReference() { return e.reference(); }
@Element public EjbContainerAvailability getEjbContainerAvailability();
public boolean required() { return mElement.required(); }
protected boolean isReference() { return e.reference(); }
@Element("*") List<GenericContainer> getExtensions();
protected boolean isAllElementMatch() { return e.value().equals("*"); } }
public boolean key() { return mElement.key(); }
protected boolean isRequired() { return e.required(); }
@Element GenericConfig getGenericConfig(); void setGenericConfig(GenericConfig genericConfig);
String en = e.value(); if(en.length()>0) { prop = elements.get(en);
private boolean _isKey() { Element e = getAnnotation(Element.class); if(e!=null && e.key()) return true; Attribute a = getAnnotation(Attribute.class); return a != null && a.key(); }