in scala
trait CaseClass

abstract trait CaseClass
extends java.lang.Object
with scala.ScalaObject
The trait CaseClass defines access functions for instances of case classes.
Author:
Burak Emir
Version:
1.0
Direct known subclasses:
NeedsCopy, NeedsCopy, NeedsCopy, ElemEnd, ElemStart, FExp, Attrib, Child, DescOrSelf, NameTest, Exists, Equals, FatalError, ValidationException, SystemID, PublicID, DocType, IntDef, DEFAULT, AttListDecl, UnparsedEntityDecl, IMPLIED, ElemDecl, ParsedEntityDecl, REQUIRED, ExtDef, NotationDecl, PEReference, ParameterEntityDecl, AttrDecl, PCDATA, EMPTY, Alt, Sequ, Star, Letter, Wildcard, ElemName, MIXED, ELEMENTS, ANY, Unparsed, TopScope, Text, ProcInstr, Box, Para, Null, MalformedAttributeException, Group, EntityRef, Elem, Comment, Alt, Sequ, Star, Letter, Wildcard, Alt, Sequ, Star, Node, TopIter, Alt, Sequ, Star, LabelledRHS, AnyTreeRHS, AnyHedgeRHS, EmptyHedgeRHS, ConsRHS, DocNil, DocGroup, DocNest, DocText, DocBreak, DocCons, AssertFailed, TestLabel, AnyNode, TreeRule, HedgeChainRule, AnyNodeRule, HedgeRule, AnyTreeRule, TreeNT, HedgeNT, TypeBounds, PolyType, PrefixedType, NoPrefix, SingleType, AppliedType, NoType, NamedType, MethodType, ThisType, If, Literal, New, Target, TypeApply, Block, ClassDef, Assign, Ident, Goto, ValDef, DefDef, Select, This, Template, Apply, Function, Super, LocalValue, Class, RootSymbol, Method, NoSymbol, LabelSymbol, Field, TypeField, LocalMethod, Ref, Def, UGP, Sum, TIMEOUT, Remove, Update, Reset, Include, NA, End, Start, Index, ITree, GBNode, GBLeaf, INode, Tuple9, Tuple8, Tuple7, Tuple6, Tuple5, Tuple4, Tuple3, Tuple2, Tuple1, Symbol, Some, None, Option, Nil, List, ::, Cell, TypeCast, FunctionCall, Default, Update, Transaction, SetClause, Subquery, Constructor, Insert, UnsupportedFeature, IncompatibleSchema, Database, Node, NamedSend, WakedActor, TIMEOUT, Exit

Def Summary
abstract def caseArity : scala.Int
for a case class A(x_0,...,x_(k-1)), returns k
abstract def caseElement (n: scala.Int) : scala.Any
for a case class A(x_0,...,x_(k-1)), returns x_i for 0 <= i < k, null otherwise.
abstract def caseName : java.lang.String



Def Detail
abstract def caseArity : scala.Int
for a case class A(x_0,...,x_(k-1)), returns k

abstract def caseElement (n: scala.Int): scala.Any
for a case class A(x_0,...,x_(k-1)), returns x_i for 0 <= i < k, null otherwise.
Parameters:
n - the position of the n-th element
Returns:
...

abstract def caseName : java.lang.String