org.jboss.metadata.javaee.spec
Class DescriptionImpl

java.lang.Object
  extended by org.jboss.metadata.annotation.AbstractAnnotationImpl
      extended by org.jboss.metadata.javaee.support.LanguageMetaData
          extended by org.jboss.metadata.javaee.spec.DescriptionImpl
All Implemented Interfaces:
Serializable, Annotation, Description, IdMetaData, MappableMetaData

public class DescriptionImpl
extends LanguageMetaData
implements Description

DescriptionImpl.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.jboss.annotation.javaee.Description
DEFAULT_LANGUAGE
 
Constructor Summary
DescriptionImpl()
          Create a new DescriptionImpl.
 
Method Summary
 String getDescription()
          Get the description.
 void setDescription(String description)
          Set the description.
 String value()
           
 
Methods inherited from class org.jboss.metadata.javaee.support.LanguageMetaData
equals, getId, getKey, getLanguage, hashCode, language, setId, setLanguage, toString
 
Methods inherited from class org.jboss.metadata.annotation.AbstractAnnotationImpl
annotationType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode, toString
 

Constructor Detail

DescriptionImpl

public DescriptionImpl()
Create a new DescriptionImpl.

Method Detail

value

public String value()

getDescription

public String getDescription()
Get the description.

Returns:
the description.

setDescription

public void setDescription(String description)
Set the description.

Parameters:
description - the description.
Throws:
IllegalArgumentException - for a null description


Copyright © 2009 JBoss Inc.. All Rights Reserved.