Package org.apache.synapse.registry
Class RegistryEntryImpl
- java.lang.Object
-
- org.apache.synapse.registry.RegistryEntryImpl
-
- All Implemented Interfaces:
RegistryEntry
- Direct Known Subclasses:
TestMediationRegistryEntryImpl
public class RegistryEntryImpl extends Object implements RegistryEntry
-
-
Constructor Summary
Constructors Constructor Description RegistryEntryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCachableDuration()
The number of milliseconds this resource could be cachedlong
getCreated()
The created time for the resource - optionalString
getDescription()
A description for the resource - optionalString
getKey()
The key for the resource - requiredlong
getLastModified()
The last updated time for the resource - optionalString
getName()
A name for the resource - optionalString
getType()
The type of the resource - optionallong
getVersion()
The version of the resource - requiredvoid
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()
-
-
-
Method Detail
-
getKey
public String getKey()
Description copied from interface:RegistryEntry
The key for the resource - required- Specified by:
getKey
in interfaceRegistryEntry
-
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 interfaceRegistryEntry
-
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 interfaceRegistryEntry
-
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 interfaceRegistryEntry
-
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 interfaceRegistryEntry
-
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 interfaceRegistryEntry
-
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 interfaceRegistryEntry
-
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 interfaceRegistryEntry
-
setCachableDuration
public void setCachableDuration(long cachableDuration)
-
-