public class MetadataElement extends Object
Constructor and Description |
---|
MetadataElement()
Creates a new and empty instance.
|
MetadataElement(Element element)
Constructs a new instance by reading the given w3c element.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getIsAttribute() |
String |
getMappedTo() |
String |
getMaxOccurs() |
String |
getMinOccurs() |
String |
getName() |
String |
getRef() |
String |
getType() |
boolean |
isRef() |
void |
setIsAttribute(boolean isAttribute) |
void |
setIsRef(boolean isRef) |
void |
setMappedTo(String mappedTo) |
void |
setMaxOccurs(String maxOccurs) |
void |
setMinOccurs(String minOccurs) |
void |
setName(String name) |
void |
setRef(String ref) |
void |
setType(String type) |
public MetadataElement()
public MetadataElement(Element element)
element
- w3c element used for extracting various attributes.public String getName()
public void setName(String name)
public String getType()
public void setType(String type)
public boolean getIsAttribute()
public void setIsAttribute(boolean isAttribute)
public String getMinOccurs()
public void setMinOccurs(String minOccurs)
public String getMaxOccurs()
public void setMaxOccurs(String maxOccurs)
public String getRef()
public void setRef(String ref)
public boolean isRef()
public void setIsRef(boolean isRef)
public String getMappedTo()
public void setMappedTo(String mappedTo)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.