NetKernel APIs


com.ten60.netkernel.module.accessor
Class ModuleResourceExpiryRepresentation

java.lang.Object
  extended bycom.ten60.netkernel.urii.representation.SimpleRepresentationImpl
      extended bycom.ten60.netkernel.module.accessor.ModuleResourceExpiryRepresentation
All Implemented Interfaces:
IAspectBoolean, IURAspect, IURRepresentation

public final class ModuleResourceExpiryRepresentation
extends SimpleRepresentationImpl
implements IAspectBoolean

The representation returned by the module resource accessor exists request. It is based on SimpleRepresentationImpl which means the aspect and representation are rolled into one object.


Field Summary
 
Fields inherited from class com.ten60.netkernel.urii.representation.SimpleRepresentationImpl
mMeta
 
Fields inherited from interface com.ten60.netkernel.urii.aspect.IAspectBoolean
MIME_TYPE
 
Constructor Summary
ModuleResourceExpiryRepresentation(String aPath, ModuleDefinition aModule, long aExpiryOffset)
          Creates a new instance of ModuleResourceRepresentation
 
Method Summary
 boolean isTrue()
          returns true if the resource exists
 
Methods inherited from class com.ten60.netkernel.urii.representation.SimpleRepresentationImpl
getAspect, getAspects, getMeta, hasAspect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleResourceExpiryRepresentation

public ModuleResourceExpiryRepresentation(String aPath,
                                          ModuleDefinition aModule,
                                          long aExpiryOffset)
Creates a new instance of ModuleResourceRepresentation

Method Detail

isTrue

public boolean isTrue()
returns true if the resource exists

Specified by:
isTrue in interface IAspectBoolean

NetKernel APIs


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