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, ElemStart, ElemEnd, FExp, Attrib, Child, DescOrSelf, NameTest, Exists, Equals, FatalError, ValidationException, SystemID, PublicID, DocType, AttListDecl, ElemDecl, UnparsedEntityDecl, AttrDecl, IntDef, NotationDecl, IMPLIED, REQUIRED, ExtDef, ParameterEntityDecl, ParsedEntityDecl, PEReference, DEFAULT, MIXED, ANY, PCDATA, Alt, Sequ, Star, Letter, Wildcard, ElemName, ELEMENTS, EMPTY, 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, AnyTreeRHS, LabelledRHS, AnyHedgeRHS, ConsRHS, EmptyHedgeRHS, DocBreak, DocCons, DocText, DocGroup, DocNil, DocNest, AssertFailed, TestLabel, AnyNode, HedgeRule, AnyTreeRule, HedgeChainRule, AnyNodeRule, TreeRule, TreeNT, HedgeNT, MethodType, NoPrefix, TypeBounds, AppliedType, PrefixedType, SingleType, PolyType, NamedType, NoType, ThisType, Ident, Goto, New, Assign, TypeApply, DefDef, Block, Function, This, Super, ValDef, Select, Template, Target, If, Apply, ClassDef, Literal, Class, TypeField, NoSymbol, LocalValue, Field, LabelSymbol, LocalMethod, RootSymbol, Method, Ref, Def, UGP, Sum, TIMEOUT, Reset, Update, Remove, Include, End, Start, Index, NA, ITree, INode, GBLeaf, GBNode, Tuple9, Tuple8, Tuple7, Tuple6, Tuple5, Tuple4, Tuple3, Tuple2, Tuple1, Symbol, None, Option, Some, List, ::, Nil, 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