NetKernel APIs


org.ten60.netkernel.layer1.representation
Class NVPAspect

java.lang.Object
  extended by org.ten60.netkernel.layer1.representation.NVPAspect
All Implemented Interfaces:
IURAspect, IAspectNVP

public class NVPAspect
extends java.lang.Object
implements IAspectNVP

Implementation of IAspectNVP


Constructor Summary
NVPAspect(NVPImpl aNVP)
          Creates a new instance of StringAspect
 
Method Summary
static IURRepresentation create(IURMeta aMeta, NVPImpl aNVP)
          Create an IURRepresentation holding the immutable NVPImpl
 java.util.Set getNames()
          returns the set of all available names
 java.lang.String getValue(java.lang.String name)
          return the first value for the given name
 java.util.List getValues(java.lang.String name)
          return a list of values for the given name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NVPAspect

public NVPAspect(NVPImpl aNVP)
Creates a new instance of StringAspect

Parameters:
aString - the value for the aspect
Method Detail

create

public static IURRepresentation create(IURMeta aMeta,
                                       NVPImpl aNVP)
Create an IURRepresentation holding the immutable NVPImpl

Parameters:
aMeta - the meta for the representation
aString - the value of the string aspect

getNames

public java.util.Set getNames()
Description copied from interface: IAspectNVP
returns the set of all available names

Specified by:
getNames in interface IAspectNVP

getValue

public java.lang.String getValue(java.lang.String name)
Description copied from interface: IAspectNVP
return the first value for the given name

Specified by:
getValue in interface IAspectNVP

getValues

public java.util.List getValues(java.lang.String name)
Description copied from interface: IAspectNVP
return a list of values for the given name

Specified by:
getValues in interface IAspectNVP

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.