public void fromGlue(GlueDecoder decoder) throws GlueException { Long stamp = (Long) decoder.decode("TimeStamp"); if (stamp == null) throw new GlueException("The \"TimeStamp\" was missing!"); if (stamp <= 0L) throw new GlueException("The \"TimeStamp\" was illegal!"); pTimeStamp = stamp; NodeEventOp nodeOp = (NodeEventOp) decoder.decode("NodeOp"); if (nodeOp == null) throw new GlueException("The \"NodeOp\" was missing!"); pNodeOp = nodeOp; String name = (String) decoder.decode("Name"); if (name == null) throw new GlueException("The \"Name\" was missing!"); pName = name; String author = (String) decoder.decode("Author"); if (author == null) throw new GlueException("The \"Author\" was missing!"); pAuthor = author; }
public void fromGlue(GlueDecoder decoder) throws GlueException { super.fromGlue(decoder); Boolean tf = (Boolean) decoder.decode("IsListLayout"); pIsListLayout = (tf != null) && tf; }