org.jboss.shrinkwrap.descriptor.metadata
Class MetadataElement
java.lang.Object
org.jboss.shrinkwrap.descriptor.metadata.MetadataElement
public class MetadataElement
- extends Object
This class holds the information used for generating a specific API interface and implementation class.
- Author:
- Ralf Battenfeld
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataElement
public MetadataElement()
- Creates a new and empty instance.
MetadataElement
public MetadataElement(Element element)
- Constructs a new instance by reading the given w3c element.
- Parameters:
element
- w3c element used for extracting various attributes.
getName
public String getName()
setName
public void setName(String name)
getType
public String getType()
setType
public void setType(String type)
getIsAttribute
public boolean getIsAttribute()
setIsAttribute
public void setIsAttribute(boolean isAttribute)
getMinOccurs
public String getMinOccurs()
setMinOccurs
public void setMinOccurs(String minOccurs)
getMaxOccurs
public String getMaxOccurs()
setMaxOccurs
public void setMaxOccurs(String maxOccurs)
getRef
public String getRef()
setRef
public void setRef(String ref)
isRef
public boolean isRef()
setIsRef
public void setIsRef(boolean isRef)
getMappedTo
public String getMappedTo()
setMappedTo
public void setMappedTo(String mappedTo)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.