com.rapidtransform.core.meta.def
Class BaseMetaModel
java.lang.Object
com.rapidtransform.core.meta.def.BaseMetaModel
- All Implemented Interfaces:
- MetaModel, XMLSerializable
public class BaseMetaModel
- extends java.lang.Object
- implements MetaModel, XMLSerializable
- Author:
- Steve
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseMetaModel
public BaseMetaModel()
getAuthor
public java.lang.String getAuthor()
- Returns:
- Returns the author.
setAuthor
public void setAuthor(java.lang.String author)
- Parameters:
author
- The author to set.
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface MetaModel
- Returns:
- Returns the description.
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- The description to set.
getDisplay
public java.lang.String getDisplay()
- Specified by:
getDisplay
in interface MetaModel
- Returns:
- Returns the display.
setDisplay
public void setDisplay(java.lang.String display)
- Parameters:
display
- The display to set.
getIncludes
public java.util.Collection<MetaInclude> getIncludes()
- Specified by:
getIncludes
in interface MetaModel
- Returns:
- Returns the includes.
setIncludes
public void setIncludes(java.util.Collection<MetaInclude> includes)
- Parameters:
includes
- The includes to set.
getProperties
public java.util.Map<QName,MetaProperty> getProperties()
- Specified by:
getProperties
in interface MetaModel
- Returns:
- Returns the properties.
setProperties
public void setProperties(java.util.Map<QName,MetaProperty> properties)
- Parameters:
properties
- The properties to set.
getPublished
public java.util.Date getPublished()
- Specified by:
getPublished
in interface MetaModel
- Returns:
- Returns the published.
setPublished
public void setPublished(java.util.Date published)
- Parameters:
published
- The published to set.
getName
public QName getName()
- Returns:
- Returns the qname.
setName
public void setName(QName qname)
- Parameters:
qname
- The qname to set.
getTypes
public java.util.Collection<MetaType> getTypes()
- Specified by:
getTypes
in interface MetaModel
- Returns:
- Returns the types.
setTypes
public void setTypes(java.util.Collection<MetaType> types)
- Parameters:
types
- The types to set.
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interface MetaModel
- Returns:
- Returns the version.
setVersion
public void setVersion(java.lang.String version)
- Parameters:
version
- The version to set.
getAspects
public java.util.Collection<MetaAspect> getAspects()
- Returns:
- Returns the aspects.
setAspects
public void setAspects(java.util.Collection<MetaAspect> aspects)
- Parameters:
aspects
- The aspects to set.
getNamespaces
public java.util.Collection<MetaNamespace> getNamespaces()
- Specified by:
getNamespaces
in interface MetaModel
- Returns:
- Returns the namespaces.
setNamespaces
public void setNamespaces(java.util.Collection<MetaNamespace> namespaces)
- Parameters:
namespaces
- The namespaces to set.
fromXML
public static MetaModel fromXML(java.io.InputStream xmlInput)
throws XMLMarshalingException
- Throws:
XMLMarshalingException
unmarshal
public XMLSerializable unmarshal(java.io.InputStream xmlInput)
throws XMLMarshalingException
- Creates a MetaModel from an XML Input Stream.
- Specified by:
unmarshal
in interface XMLSerializable
- Throws:
XMLMarshalingException
marshal
public void marshal(java.io.OutputStream xmlOutput)
throws XMLMarshalingException
- creates the xml representation of the MetaModel
- Specified by:
marshal
in interface XMLSerializable
- Throws:
XMLMarshalingException
getQname
public QName getQname()
- Specified by:
getQname
in interface MetaModel