org.jboss.services.binding.managed
Class ServiceBindingSetMapper

java.lang.Object
  extended by org.jboss.metatype.spi.values.MetaMapper<Set<ServiceBindingSet>>
      extended by org.jboss.services.binding.managed.ServiceBindingSetMapper

public class ServiceBindingSetMapper
extends org.jboss.metatype.spi.values.MetaMapper<Set<ServiceBindingSet>>

MetaMapper for a set of ServiceBindingSets.

Author:
Brian Stansberry

Field Summary
static org.jboss.metatype.api.types.CompositeMetaType SERVICE_BINDING_SET_TYPE
           
static org.jboss.metatype.api.types.CollectionMetaType TYPE
           
 
Constructor Summary
ServiceBindingSetMapper()
           
 
Method Summary
 org.jboss.metatype.api.values.MetaValue createMetaValue(org.jboss.metatype.api.types.MetaType metaType, Set<ServiceBindingSet> object)
           
 org.jboss.metatype.api.types.MetaType getMetaType()
           
 Type mapToType()
           
 Set<ServiceBindingSet> unwrapMetaValue(org.jboss.metatype.api.values.MetaValue metaValue)
          Converts the CollectionValue metaValue into a set of ServiceBindingMetadata.
 
Methods inherited from class org.jboss.metatype.spi.values.MetaMapper
getMetaMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final org.jboss.metatype.api.types.CollectionMetaType TYPE

SERVICE_BINDING_SET_TYPE

public static final org.jboss.metatype.api.types.CompositeMetaType SERVICE_BINDING_SET_TYPE
Constructor Detail

ServiceBindingSetMapper

public ServiceBindingSetMapper()
Method Detail

getMetaType

public org.jboss.metatype.api.types.MetaType getMetaType()
Overrides:
getMetaType in class org.jboss.metatype.spi.values.MetaMapper<Set<ServiceBindingSet>>

mapToType

public Type mapToType()
Overrides:
mapToType in class org.jboss.metatype.spi.values.MetaMapper<Set<ServiceBindingSet>>

createMetaValue

public org.jboss.metatype.api.values.MetaValue createMetaValue(org.jboss.metatype.api.types.MetaType metaType,
                                                               Set<ServiceBindingSet> object)
Specified by:
createMetaValue in class org.jboss.metatype.spi.values.MetaMapper<Set<ServiceBindingSet>>

unwrapMetaValue

public Set<ServiceBindingSet> unwrapMetaValue(org.jboss.metatype.api.values.MetaValue metaValue)
Converts the CollectionValue metaValue into a set of ServiceBindingMetadata.

Specified by:
unwrapMetaValue in class org.jboss.metatype.spi.values.MetaMapper<Set<ServiceBindingSet>>
Throws:
IllegalArgumentException - if metaValue is not a CollectionValue or if any element is not a CompositeValue


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