Package org.gedcomx.records
Interface HasFields
- All Known Implementing Classes:
Date,Fact,Gedcomx,Gender,NameForm,NamePart,Person,PlaceReference,Relationship,SourceDescription
public interface HasFields
Interface indicating that a class as a list of record Fields.
The list of fields is either directly used as evidence for a value or entity, or is otherwise viewed as logically
being strongly associated with that value or entity, such that it makes sense to group them within it.
- Author:
- Randy Wilson
-
Method Summary
-
Method Details
-
fields
Create a stream of fields being used as evidence.- Returns:
- a stream of fields being used as evidence.
-
getFields
Get the fields being used as evidence.- Returns:
- The references to the record fields being used as evidence.
-
setFields
Set the list of fields being used as evidence.- Parameters:
fields- - List of fields
-