org.apache.synapse.registry
Class RegistryEntryImpl

java.lang.Object
  extended by org.apache.synapse.registry.RegistryEntryImpl
All Implemented Interfaces:
RegistryEntry

public class RegistryEntryImpl
extends Object
implements RegistryEntry


Constructor Summary
RegistryEntryImpl()
           
 
Method Summary
 long getCachableDuration()
          The number of milliseconds this resource could be cached
 long getCreated()
          The created time for the resource - optional
 String getDescription()
          A description for the resource - optional
 String getKey()
          The key for the resource - required
 long getLastModified()
          The last updated time for the resource - optional
 String getName()
          A name for the resource - optional
 String getType()
          The type of the resource - optional
 long getVersion()
          The version of the resource - required
 void setCachableDuration(long cachableDuration)
           
 void setCreated(long created)
           
 void setDescription(String description)
           
 void setKey(String key)
           
 void setLastModified(long lastModified)
           
 void setName(String name)
           
 void setType(String type)
           
 void setVersion(long version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegistryEntryImpl

public RegistryEntryImpl()
Method Detail

getKey

public String getKey()
Description copied from interface: RegistryEntry
The key for the resource - required

Specified by:
getKey in interface RegistryEntry

setKey

public void setKey(String key)

getName

public String getName()
Description copied from interface: RegistryEntry
A name for the resource - optional

Specified by:
getName in interface RegistryEntry

setName

public void setName(String name)

getVersion

public long getVersion()
Description copied from interface: RegistryEntry
The version of the resource - required

Specified by:
getVersion in interface RegistryEntry

setVersion

public void setVersion(long version)

getType

public String getType()
Description copied from interface: RegistryEntry
The type of the resource - optional

Specified by:
getType in interface RegistryEntry

setType

public void setType(String type)

getDescription

public String getDescription()
Description copied from interface: RegistryEntry
A description for the resource - optional

Specified by:
getDescription in interface RegistryEntry

setDescription

public void setDescription(String description)

getCreated

public long getCreated()
Description copied from interface: RegistryEntry
The created time for the resource - optional

Specified by:
getCreated in interface RegistryEntry

setCreated

public void setCreated(long created)

getLastModified

public long getLastModified()
Description copied from interface: RegistryEntry
The last updated time for the resource - optional

Specified by:
getLastModified in interface RegistryEntry

setLastModified

public void setLastModified(long lastModified)

getCachableDuration

public long getCachableDuration()
Description copied from interface: RegistryEntry
The number of milliseconds this resource could be cached

Specified by:
getCachableDuration in interface RegistryEntry

setCachableDuration

public void setCachableDuration(long cachableDuration)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.