Package org.gedcomx.records
Interface HasFields
-
- All Known Implementing Classes:
Date,Fact,Gedcomx,Gender,NameForm,NamePart,Person,PlaceReference,Relationship,SourceDescription
public interface HasFieldsInterface 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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Stream<Field>fields()Create a stream of fields being used as evidence.List<Field>getFields()Get the fields being used as evidence.voidsetFields(List<Field> fields)Set the list of fields being used as evidence.
-