eu.esdihumboldt.util.resource.internal
Class ResourceType
java.lang.Object
eu.esdihumboldt.util.resource.internal.ResourceType
- All Implemented Interfaces:
- de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable
public class ResourceType
- extends Object
- implements de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable
Represents a resource type.
- Author:
- Simon Templer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceType
public ResourceType(String id,
String name)
- Parameters:
id
- the resource type IDname
- the resource type name, may be null
getId
public String getId()
- Specified by:
getId
in interface de.cs3d.util.eclipse.extension.simple.IdentifiableExtension.Identifiable
- See Also:
IdentifiableExtension.Identifiable.getId()
getName
public String getName()
- Get the resource type name. If no name was explicitly specified the name
is equal to the resource type ID.
- Returns:
- the resource type name
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d