public class AnnotationAttributeImpl extends org.jboss.util.JBossObject implements AnnotationAttribute, Serializable
Modifier and Type | Field and Description |
---|---|
protected Value |
defaultValue
The default value
|
protected int |
hash
The hash code
|
protected String |
name
The name
|
protected TypeInfo |
type
The attribute type
|
Constructor and Description |
---|
AnnotationAttributeImpl()
Create a new annotation attribute
|
AnnotationAttributeImpl(String name,
TypeInfo type,
Value defaultValue)
Create a new AnnotationAttribute.
|
Modifier and Type | Method and Description |
---|---|
protected void |
calcHashCode()
Calculate the hash code
|
boolean |
equals(Object obj) |
Value |
getDefaultValue()
Get the default value
|
String |
getName()
Get the attribute name
|
TypeInfo |
getType()
Get the attribute type
|
int |
hashCode() |
protected String name
protected TypeInfo type
protected Value defaultValue
protected int hash
public AnnotationAttributeImpl()
public String getName()
AnnotationAttribute
getName
in interface AnnotationAttribute
public TypeInfo getType()
AnnotationAttribute
getType
in interface AnnotationAttribute
public Value getDefaultValue()
AnnotationAttribute
getDefaultValue
in interface AnnotationAttribute
public int hashCode()
hashCode
in class org.jboss.util.JBossObject
protected void calcHashCode()
Copyright © 2016 JBoss by Red Hat. All rights reserved.