1 package org.matsim.utils.objectattributes;
3 import java.util.function.Function;
18 str ->
"population.getPersonAttributes()." + str +
" will be deprecated; use PopulationUtils" +
19 ".get/put/...PersonAttribute... instead. kai, may'19" 25 str ->
"facilities.getPersonAttributes()." + str +
" will be deprecated; use FacilitiesUtils" +
26 ".get/put/...FacilityAttribute... instead. td, aug'19" 32 str ->
"households.getHouseholdAttributes()." + str +
" will be deprecated; use HouseholdUtils" +
33 ".get/put/...HouseholdAttribute... instead. td, aug'19" 39 str ->
"schedule.getTransitStopsAttributes()." + str +
" will be deprecated; use TransitScheduleUtils" +
40 ".get/put/...Attribute... instead. td, aug'19" 46 str ->
"schedule.getTransitLinesAttributes()." + str +
" will be deprecated; use TransitScheduleUtils" +
47 ".get/put/...Attribute... instead. td, aug'19" 51 @Override
public Object
getAttribute( String personId, String key) {
54 @Override
public Object
putAttribute( String personId, String key, Object value) {
67 return super.toString() ;
71 Object getAttributeDirectly( String personId, String key ){
72 return super.getAttribute( personId, key ) ;
74 Object removeAttributeDirectly( String personId, String key ){
75 return super.removeAttribute( personId, key ) ;
77 void removeAllAttributesDirectly( String personId ) {
78 super.removeAllAttributes( personId );
static FailingObjectAttributes createHouseholdsAttributes()
static FailingObjectAttributes createPersonAttributes()
static FailingObjectAttributes createTransitStopsAttributes()
static FailingObjectAttributes createFacilitiesAttributes()
static FailingObjectAttributes createTransitLinesAttributes()
FailingObjectAttributes(Function< String, String > msgFunction)
Object removeAttribute(String personId, String key)
Object putAttribute(String personId, String key, Object value)
Object getAttribute(String personId, String key)
void removeAllAttributes(String personId)
final Function< String, String > msgFunction