|
|
|
@ -43,6 +43,9 @@ public class MetadataField implements Serializable{
|
|
|
|
|
private String fieldName;
|
|
|
|
|
@XmlElement(required = true)
|
|
|
|
|
private Boolean mandatory = false;
|
|
|
|
|
|
|
|
|
|
@XmlElement(name = "maxOccurs")
|
|
|
|
|
private String maxOccurs;
|
|
|
|
|
// private Boolean isBoolean = false;
|
|
|
|
|
@XmlJavaTypeAdapter(DataTypeAdapter.class)
|
|
|
|
|
private DataType dataType = DataType.String;
|
|
|
|
@ -166,6 +169,25 @@ public class MetadataField implements Serializable{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Gets the max occurs.
|
|
|
|
|
*
|
|
|
|
|
* @return the maxOccurs
|
|
|
|
|
*/
|
|
|
|
|
public String getMaxOccurs() {
|
|
|
|
|
|
|
|
|
|
return maxOccurs;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @param maxOccurs the maxOccurs to set
|
|
|
|
|
*/
|
|
|
|
|
public void setMaxOccurs(String maxOccurs) {
|
|
|
|
|
|
|
|
|
|
this.maxOccurs = maxOccurs;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Gets the default value.
|
|
|
|
|
*
|
|
|
|
@ -343,6 +365,8 @@ public class MetadataField implements Serializable{
|
|
|
|
|
builder.append(fieldName);
|
|
|
|
|
builder.append(", mandatory=");
|
|
|
|
|
builder.append(mandatory);
|
|
|
|
|
builder.append(", maxOccurs=");
|
|
|
|
|
builder.append(maxOccurs);
|
|
|
|
|
builder.append(", dataType=");
|
|
|
|
|
builder.append(dataType);
|
|
|
|
|
builder.append(", defaultValue=");
|
|
|
|
@ -361,4 +385,5 @@ public class MetadataField implements Serializable{
|
|
|
|
|
return builder.toString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|