1 28 29 package org.jibx.binding.model; 30 31 import org.jibx.binding.util.StringArray; 32 33 39 40 public class StructureAttributes extends AttributeBase 41 { 42 43 public static final StringArray s_allowedAttributes = 44 new StringArray(new String [] { "label", "ordered", "using" }); 45 46 47 protected boolean m_isOrdered; 48 49 50 protected String m_usingName; 51 52 53 protected String m_labelName; 54 55 58 59 public StructureAttributes() { 60 m_isOrdered = true; 61 } 62 63 68 69 public boolean isOrdered() { 70 return m_isOrdered; 71 } 72 73 78 79 public void setOrdered(boolean ordered) { 80 m_isOrdered = ordered; 81 } 82 83 89 90 public String getUsingName() { 91 return m_usingName; 92 } 93 94 100 101 public void setUsingName(String name) { 102 m_usingName = name; 103 } 104 105 110 111 public String getLabelName() { 112 return m_labelName; 113 } 114 115 120 121 public void setLabelName(String name) { 122 m_labelName = name; 123 } 124 125 128 public void prevalidate(ValidationContext vctx) { 129 super.prevalidate(vctx); 131 } 132 } | Popular Tags |