@Documented @Inherited @Target(value=TYPE) @Retention(value=RUNTIME) public @interface TitleProperty
"title"
property is often the only information that a user needs for a first look.
This annotation is used in metadata tree views for producing briefer trees,
especially when there is redundant node names.
Citation
type contains a date
property which itself contains another date property. They form a tree like below:
Citation ├─Title……………………… My document └─Date ├─Date………………… 2012/01/01 └─Date type…… CreationWith
@TitleProperty(name="title")
on DefaultCitation
implementation class and
@TitleProperty(name="date")
on DefaultCitationDate
class,
Apache SIS can produce a more compact tree table view should be as below:
Citation……………………… My document └─Date………………………… 2012/01/01 └─Date type…… Creation
ValueExistencePolicy.COMPACT
Defined in the sis-metadata
module
public abstract String name
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.