/** Calculates the total number of tags. */ public int getLength() { int length = tags.length; if (derived != null) { length += derived.getLength(); } return length; }
/** * Returns the name of the server-side logic class to use for the global, or <code>null</code> * for none. */ public String getLogicClassName() { return (tags.getLength() == 0 && handlers.length == 0) ? null : "com.threerings.tudey.server.logic.EntryLogic"; }