public boolean expireAttribute ( final String identifier , final String attribute , final long expirationTime ) { if ( identifier == null ) { log . error ( "Unable to expire an attribute with a null Identifier value." ) ; return false ; } if ( attribute == null ) { log . error ( "Unable to expire a null attribute." ) ; return false ; } if ( this . originString == null ) { log . error ( "Origin has not been set. Cannot expire attributes without a valid origin." ) ; return false ; } ExpireAttributeMessage message = new ExpireAttributeMessage ( ) ; message . setId ( identifier ) ; message . setAttributeName ( attribute ) ; message . setExpirationTime ( expirationTime ) ; message . setOrigin ( this . originString ) ; this . session . write ( message ) ; log . debug ( "Sent {}" , message ) ; return true ; }
Expire a particular Attribute for an Identifier in the world model .