public class RegistryEntryImpl extends Object implements RegistryEntry
| Constructor and Description |
|---|
RegistryEntryImpl() |
| Modifier and Type | Method and Description |
|---|---|
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() |
public String getKey()
RegistryEntrygetKey in interface RegistryEntrypublic void setKey(String key)
public String getName()
RegistryEntrygetName in interface RegistryEntrypublic void setName(String name)
public long getVersion()
RegistryEntrygetVersion in interface RegistryEntrypublic void setVersion(long version)
public String getType()
RegistryEntrygetType in interface RegistryEntrypublic void setType(String type)
public String getDescription()
RegistryEntrygetDescription in interface RegistryEntrypublic void setDescription(String description)
public long getCreated()
RegistryEntrygetCreated in interface RegistryEntrypublic void setCreated(long created)
public long getLastModified()
RegistryEntrygetLastModified in interface RegistryEntrypublic void setLastModified(long lastModified)
public long getCachableDuration()
RegistryEntrygetCachableDuration in interface RegistryEntrypublic void setCachableDuration(long cachableDuration)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.