org.jboss.metadata.javaee.spec
Class DisplayNameImpl

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.DisplayNameImpl
All Implemented Interfaces:
Serializable, Annotation, DisplayName, IdMetaData, MappableMetaData

public class DisplayNameImpl
extends LanguageMetaData
implements DisplayName

DisplayNameImpl.

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

Constructor Summary
DisplayNameImpl()
          Create a new DisplayNameImpl.
 
Method Summary
 String getDisplayName()
          Get the displayName.
 void setDisplayName(String displayName)
          Set the displayName.
 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

DisplayNameImpl

public DisplayNameImpl()
Create a new DisplayNameImpl.

Method Detail

value

public String value()

getDisplayName

public String getDisplayName()
Get the displayName.

Returns:
the displayName.

setDisplayName

public void setDisplayName(String displayName)
Set the displayName.

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


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.