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 longgetCachableDuration()The number of milliseconds this resource could be cachedlonggetCreated()The created time for the resource - optionalStringgetDescription()A description for the resource - optionalStringgetKey()The key for the resource - requiredlonggetLastModified()The last updated time for the resource - optionalStringgetName()A name for the resource - optionalStringgetType()The type of the resource - optionallonggetVersion()The version of the resource - requiredvoidsetCachableDuration(long cachableDuration)voidsetCreated(long created)voidsetDescription(String description)voidsetKey(String key)voidsetLastModified(long lastModified)voidsetName(String name)voidsetType(String type)voidsetVersion(long version)StringtoString()
-
-
-
Method Detail
-
getKey
public String getKey()
Description copied from interface:RegistryEntryThe key for the resource - required- Specified by:
getKeyin interfaceRegistryEntry
-
setKey
public void setKey(String key)
-
getName
public String getName()
Description copied from interface:RegistryEntryA name for the resource - optional- Specified by:
getNamein interfaceRegistryEntry
-
setName
public void setName(String name)
-
getVersion
public long getVersion()
Description copied from interface:RegistryEntryThe version of the resource - required- Specified by:
getVersionin interfaceRegistryEntry
-
setVersion
public void setVersion(long version)
-
getType
public String getType()
Description copied from interface:RegistryEntryThe type of the resource - optional- Specified by:
getTypein interfaceRegistryEntry
-
setType
public void setType(String type)
-
getDescription
public String getDescription()
Description copied from interface:RegistryEntryA description for the resource - optional- Specified by:
getDescriptionin interfaceRegistryEntry
-
setDescription
public void setDescription(String description)
-
getCreated
public long getCreated()
Description copied from interface:RegistryEntryThe created time for the resource - optional- Specified by:
getCreatedin interfaceRegistryEntry
-
setCreated
public void setCreated(long created)
-
getLastModified
public long getLastModified()
Description copied from interface:RegistryEntryThe last updated time for the resource - optional- Specified by:
getLastModifiedin interfaceRegistryEntry
-
setLastModified
public void setLastModified(long lastModified)
-
getCachableDuration
public long getCachableDuration()
Description copied from interface:RegistryEntryThe number of milliseconds this resource could be cached- Specified by:
getCachableDurationin interfaceRegistryEntry
-
setCachableDuration
public void setCachableDuration(long cachableDuration)
-
-