org.gcube.common.resources
Class BaseFacet
java.lang.Object
org.gcube.common.resources.BaseFacet
- All Implemented Interfaces:
- Facet
- Direct Known Subclasses:
- TypedFacet, UntypedFacet
public abstract class BaseFacet
- extends Object
- implements Facet
Partial Facet implementation.
- Author:
- Fabio Simeoni
|
Constructor Summary |
protected |
BaseFacet(QName name)
Creates a new instance with a given name |
|
Method Summary |
QName |
name()
Returns the name of the facet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseFacet
protected BaseFacet(QName name)
- Creates a new instance with a given name
- Parameters:
name - the name
name
public QName name()
- Description copied from interface:
Facet
- Returns the name of the facet
- Specified by:
name in interface Facet
- Returns:
- the name
Copyright © 2012. All Rights Reserved.