org.jboss.aop.metadata
Class SimpleMetaData.MetaDataValue
java.lang.Object
org.jboss.aop.metadata.SimpleMetaData.MetaDataValue
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- SimpleMetaData
public class SimpleMetaData.MetaDataValue
- extends Object
- implements Serializable
Contains the value of a metadata attribute.
- See Also:
- Serialized Form
type
public final PayloadKey type
value
public Object value
SimpleMetaData.MetaDataValue
public SimpleMetaData.MetaDataValue(PayloadKey type,
Object value)
- Constructs a metada data entry with the initial value
value
.
- Parameters:
type
- payload typevalue
- the initial value of this entry
get
public Object get()
throws IOException,
ClassNotFoundException
- Returns the value of this entry.
- Returns:
- the value of this metadata entry.
- Throws:
IOException
- may be thrown during unmarshalling proccess
(only if payload key type is
PayloadKey.MARSHALLED
)
ClassNotFoundException
- may be thrown during unmarshalling proccess
(only if payload key type is
PayloadKey.MARSHALLED
)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.