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()
RegistryEntry
getKey
in interface RegistryEntry
public void setKey(String key)
public String getName()
RegistryEntry
getName
in interface RegistryEntry
public void setName(String name)
public long getVersion()
RegistryEntry
getVersion
in interface RegistryEntry
public void setVersion(long version)
public String getType()
RegistryEntry
getType
in interface RegistryEntry
public void setType(String type)
public String getDescription()
RegistryEntry
getDescription
in interface RegistryEntry
public void setDescription(String description)
public long getCreated()
RegistryEntry
getCreated
in interface RegistryEntry
public void setCreated(long created)
public long getLastModified()
RegistryEntry
getLastModified
in interface RegistryEntry
public void setLastModified(long lastModified)
public long getCachableDuration()
RegistryEntry
getCachableDuration
in interface RegistryEntry
public void setCachableDuration(long cachableDuration)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.