private void writeMembershipType ( MembershipType membershipType , Node mtNode ) throws Exception { if ( ! mtNode . isNodeType ( "exo:datetime" ) ) { mtNode . addMixin ( "exo:datetime" ) ; } mtNode . setProperty ( MembershipTypeProperties . JOS_DESCRIPTION , membershipType . getDescription ( ) ) ; }
Writes membership type properties to the node .