- 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 voidaccept(Visitor visitor)static Metadatabuild(Entry entry)static Metadatabuild(Entry entry, BirthmarkType type)ClassNameclassName()intcompareTo(Metadata other)booleanisSame(URI otherLocation)booleanisSame(BirthmarkType otherType)booleanisSame(ClassName otherName)URIlocation()StringtoString()BirthmarkTypetype()
-
-
-
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:
compareToin interfaceComparable<Metadata>
-
-