List<StatementGroup> statementGroups, DatatypeIdValue datatypeId, long revisionId) { return factory.getPropertyDocument(propertyId, labels, descriptions, aliases, statementGroups, datatypeId, revisionId);
List<StatementGroup> statementGroups, DatatypeIdValue datatypeId, long revisionId) { return factory.getPropertyDocument(propertyId, labels, descriptions, aliases, statementGroups, datatypeId, revisionId);
/** * Returns the {@link ItemDocument} that has been built. * * @return constructed item document * @throws IllegalStateException * if the object was built already */ @Override public PropertyDocument build() { prepareBuild(); return factory.getPropertyDocument( (PropertyIdValue) this.entityIdValue, this.labels, this.descriptions, this.aliases, getStatementGroups(), this.datatype, this.revisionId); }
/** * Returns the {@link ItemDocument} that has been built. * * @return constructed item document * @throws IllegalStateException * if the object was built already */ @Override public PropertyDocument build() { prepareBuild(); return factory.getPropertyDocument( (PropertyIdValue) this.entityIdValue, this.labels, this.descriptions, this.aliases, getStatementGroups(), this.datatype, this.revisionId); }
public PropertyDocument filter(PropertyDocument property) { return dataObjectFactory.getPropertyDocument( property.getEntityId(), filterMonoLingualTextValues(property.getLabels().values()), filterMonoLingualTextValues(property.getDescriptions().values()), filterMonoLingualTextValues(flatten(property.getAliases().values())), filterStatementGroups(property.getStatementGroups()), property.getDatatype(), property.getRevisionId() ); }
public PropertyDocument filter(PropertyDocument property) { return dataObjectFactory.getPropertyDocument( property.getEntityId(), filterMonoLingualTextValues(property.getLabels().values()), filterMonoLingualTextValues(property.getDescriptions().values()), filterMonoLingualTextValues(flatten(property.getAliases().values())), filterStatementGroups(property.getStatementGroups()), property.getDatatype(), property.getRevisionId() ); }
/** * Copies a {@link PropertyDocument}. * * @param object * object to copy * @return copied object */ public PropertyDocument copy(PropertyDocument object) { return dataObjectFactory.getPropertyDocument( copy(object.getEntityId()), copyMonoLingualTextValues(object.getLabels().values()), copyMonoLingualTextValues(object.getDescriptions().values()), copyAliasMap(object.getAliases()), copyStatementGroups(object.getStatementGroups()), copy(object.getDatatype()), object.getRevisionId()); }
/** * Copies a {@link PropertyDocument}. * * @param object * object to copy * @return copied object */ public PropertyDocument copy(PropertyDocument object) { return dataObjectFactory.getPropertyDocument( copy(object.getEntityId()), copyMonoLingualTextValues(object.getLabels().values()), copyMonoLingualTextValues(object.getDescriptions().values()), copyAliasMap(object.getAliases()), copyStatementGroups(object.getStatementGroups()), copy(object.getDatatype()), object.getRevisionId()); }