- java.lang.Object
-
- jp.cafebabe.birthmarks.entities.Metadata
-
- All Implemented Interfaces:
Serializable
,Comparable<Metadata>
,Acceptor<Metadata>
public class Metadata extends Object implements Acceptor<Metadata>, Serializable, Comparable<Metadata>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Metadata(ClassName name, URI location, BirthmarkType type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor visitor)
static Metadata
build(Entry entry)
static Metadata
build(Entry entry, BirthmarkType type)
ClassName
className()
int
compareTo(Metadata other)
boolean
isSame(URI otherLocation)
boolean
isSame(BirthmarkType otherType)
boolean
isSame(ClassName otherName)
URI
location()
String
toString()
BirthmarkType
type()
-
-
-
Constructor Detail
-
Metadata
public Metadata(ClassName name, URI location, BirthmarkType type)
-
-
Method Detail
-
className
public ClassName className()
-
isSame
public boolean isSame(BirthmarkType otherType)
-
isSame
public boolean isSame(ClassName otherName)
-
isSame
public boolean isSame(URI otherLocation)
-
location
public URI location()
-
type
public BirthmarkType type()
-
build
public static Metadata build(Entry entry, BirthmarkType type)
-
compareTo
public int compareTo(Metadata other)
- Specified by:
compareTo
in interfaceComparable<Metadata>
-
-